The complete set of chemical reactions that happen in an organism. Includes the conversion of food into energy, production of components for new cells and maintenance of existing cells.