Function
ProgrammingA reusable, named block of code that performs a task.
A function encapsulates a unit of logic that can accept inputs (parameters) and return an output. Functions promote reuse, reduce duplication, and make programs easier to test and reason about.