ref
Middle English: via Old French from Latin officium ‘performance of a task’ (in medieval Latin also ‘office, divine service’), based on opus ‘work’ + facere ‘do’.