What happens when heat is removed from a liquid