This is a pneumatic engine.
This engine rotates by compressed air from the pump.
The pistons are connected with the valves. The movement is as follows.
1.The first piston expands.
2.The valve changes the air flow.
3.The other piston expands.
4.The other valve changes the air flow.
5.The first piston contracts.