Respiration releases the energy needed to sustain living organisms from compounds containing carbon. Usually, oxygen is needed for this to happen (aerobic respiration), but it can also happen anaerobically or without oxygen. Carbon dioxide is expelled as a waste product. Respiration also denotes the exchange of the respiratory gases (oxygen and carbon dioxide) between the organism and the medium in which it lives and between the cells of the body and the surrounding tissue fluid.