Function

Reusable code that does a task, often returns a result.

Analogy: A kitchen recipe: you give ingredients, it gives you a dish.