Oil serves as a sealant, filling the microscopic ridges and valleys found in any metal surface, increasing the engine's efficiency. Oil must serve as a cleaning function, carrying away dirt or other debris which damages bearings or other parts which operate in tight tolerances. Debris is removed through the engine oil filter or the transmission filter. Oil uses detergent additives to combat combustion by-products. The detergent fights these by-products, inhibiting their buildup as sludge, varnishes, etc.
Oil is a tremendous coolant.
In the engine, the oil cools the underside of the pistons, valve springs, camshaft, rods, crankshaft and bearings. That could very likely eliminate the need for an oil cooler altogether. Oil is the only coolant in your automatic transmission. There's a small radiator within the engine's radiator to take the heat away. When your vehicle is used in high temperature climates, hauling trailers or heavy loads, synthetic ATF is highly recommended.