Bioenergetics, loosely defined, is the study of energy investment and flow through living systems. This broad definition includes the study of thousands of different processes ranging from cellular respiration and the production of ATP, to the study of evolutionary costs accompanying the development of a particular trait, such as the immune system. One question this area of science seeks to answer is whether protective benefit of a particular trait is worth the energy investment it requires.