History Portion:
According to the first law of thermodynamics, perpetual motion machines are impossible.
According to the second law of thermodynamics, the entropy of an isolated system never decreases. Also, this means that perpetual motion machines of the second kind are impossible.