All of the above.
Transmission fluid serves multiple important functions in a vehicle's transmission system, including providing the necessary friction to help engage clutches, lubricating moving parts to reduce wear and heat, and conditioning seals to prevent leaks.