Occupation is a feminine noun that indicates a office, a exercise, one mission, one commission, one utility, a understanding.
The word function is a noun that defines several meanings. Within the scope of Biology, function is the action of an organ or system, which works for the conservation of a living being. It can also be the work of an instrument or a machine, the performance of a job, a service, or a trade.
At Grammar, function is the role of the word in prayer.
In Math, function is any correspondence between two or more sets. It is the correspondence between the domain of two variables. Some of the best known functions are: exponential, quadratic, inverse, etc. functions.
In Chemistry, function is the grouping of atoms that attributes to a class of substances, in whose molecules it is present, a determined and more or less uniform chemical behavior.
At the Brazil, function is a regional expression that means dancing party, ball, fun, fandango, happy meeting.
At juridical area, function is each of the major divisions of the State's activity, in achieving its legal purposes (legislative, judicial, administrative or executive function). It is also the right, obligations and attributions of a person within their specific professional activity.