function noun

1604, Cawdrey:

calling, or charge, or trade, and place wherein a man liueth.

1626, Cockeram:

an office, or course of life.

1658, Phillips:

(lat.) the performance or exercise of any duty, or office.