You learned a function - an activity or purpose natural to or intended for a person or thing. "bridges perform the function of providing access across water"
You learned a operations - the fact or condition of functioning or being active. "the construction and operation of power stations"