The AC oil lubricates all moving parts of the system and removes heat from the compressor. It also protects the rubber gaskets on the hoses and joints, reducing the cooling agent leaks. The oil needs checking and replacing if contaminated, too thick or too thin, as well as in the case of replacement of the compressor.