exchange of energy