Evolution from a Thermodynamic Perspective