A hydraulic machine is a mechanical device that uses a hydraulic fluid to create mechanical work.
A hydraulic machine can be either:
1. Pump
2. Motor
The pump consumes an external torque and produces pressure and flow.
The motor consumes external pressure and flow and produces torque.