The study of the chemical composition and reactions of food substances, including its nutritional quality and safety.