A turbomachine is a type of mechanical device that converts energy between a fluid and a rotor, typically using principles of thermodynamics and fluid dynamics. It includes both turbines, which extract energy from a fluid, and compressors, which add energy to a fluid. Common examples of turbomachines include jet engines, gas turbines, steam turbines, and centrifugal pumps. These machines are widely used in power generation, aviation, and various industrial applications.