The oil pump is rotation of the pump builds the hydraulic pressure needed for the lubrication of the various parts of the automatice transmission and operation of the clutch and brakes.
The oil also circulates through the torque converter and the cooler.