What is a Function?

A function can represent a social gathering or ceremony like a dance, a wedding, or and office picnic. A function can also mean what something is to be used for or how it operates. The term function is also used in computer programming to set up a routine which is a set sequence of steps to be performed as part of a larger computer program.