The second law of thermodynamics posits that the transfer of energy involves some released as heat. This inefficient energy transfer plays a role in many biological systems. In food chains, energy escapes as heat between trophic levels, with consumers gaining only a small percentage of the energy stored in their food. On the cellular level, the energy required to maintain the complex structure of a cell increases entropy in the outside environment.