THE CSD part of an IDG uses the oil as a hydraulic fluid to drive a hydraulic motor the output of which is summed with the geared rotation to maintain a constant output speed to the generator.
Can you obtain an ATP these days with no knowledge of CSDs?
The oil is also used for the cooling and lubrication of the entire device.