A perpetual motion machine is a hypothetical machine that can do work indefinitely without an energy source.