A perpetual motion machine is unattainable according to the laws of physics.