A function is a piece of business logic code that you upload to Function Compute. You can define functions in different programming languages.