The correct answer is A. To lubricate the moving parts.
Oil plays a crucial role in reducing friction between the moving parts of an engine, which helps prevent wear and tear and ensures smooth operation. While oil can also assist in cooling the engine and has some other functions, its primary role is lubrication.