The study of the chemical processes and pathways that occur within a living organism related to food and nutrition.