Mechanical engineering applies principles of physics and materials science to design, manufacture and maintain mechanical systems. It involves the use of heat and mechanical power. Mechatronics refers to the integration of mechanical systems with electronics using precision engineering, control theory, computer science and more to design smart products and systems. The Carnot, Otto and Diesel cycles represent the most efficient and ideal cycles for heat engines. The vapor compression refrigeration cycle exploits phase changes to transfer heat and cool spaces below the temperature of the surroundings.