According to the second law of thermodynamics the entropy of a system cannot decrease by adiabatic state transformations. In quantum mechanics, the \'degree of entanglement\' of a state cannot increase under state transformations of a certain kind (local operations assisted by classical communication) In this talk I will explore the significance of the analogy between these two statements.