Perpetual motion is motion of bodies that continues indefinitely. A perpetual motion machine is a hypothetical machine that can do work indefinitely without an energy source. This kind of machine is impossible, as it would violate the first or second law of 1) Heat carried away by flue gases 2) Heat carried away by ash 3) Moisture present in fuel and steam formed by combustion of hydrogen in fuel