FunctionIn programming, a function is a piece of code that does something. You can think of it like a verb in human language.