Nutritional science investigates the metabolic and physiological responses of the body to diet. With advances in the fields of molecular biology, biochemistry, nutritional immunology, molecular medicine and genetics, the study of nutrition is increasingly concerned with metabolism and metabolic pathways: the sequences of biochemical steps through which substances in living things change from one form to another. Carnivore and herbivore diets are contrasting, with basic nitrogen and carbon proportions being at varying levels in particular foods.
Carnivores consume more nitrogen than carbon while herbivores consume less nitrogen than carbon, when an equal quantity[which? ] is measured. The human body contains chemical compounds, such as water, carbohydrates (sugar, starch, and fiber), amino acids (in proteins), fatty acids (in lipids), and nucleic acids (DNA and RNA). These compounds in turn consist of elements such as carbon, hydrogen, oxygen, nitrogen, phosphorus, calcium, iron, zinc, magnesium, manganese, and so on.
All of these chemical compounds and elements occur in various forms and combinations (e. g. hormones, vitamins, phospholipids, hydroxyapatite), both in the human body and in the plant and animal organisms that humans eat. The human body consists of elements and compounds ingested, digested, absorbed, and circulated through the bloodstream to feed the cells of the body. Except in the unborn fetus, the digestive system is the first system involved[vague].
In a typical adult, about seven liters of digestive juices enter the digestive tract. [clarification needed] These digestive juices break chemical bonds in ingested molecules, and modify their conformations and energy states. Though some molecules are absorbed into the bloodstream unchanged, digestive processes release them from the matrix of foods. Unabsorbed matter, along with some waste products of metabolism, is eliminated from the body in the feces.
Studies of nutritional status must take into account the state of the body before and after experiments, as well as the chemical composition of the whole diet and of all material excreted and eliminated from the body (in urine and feces). Comparing the food to the waste can help determine the specific compounds and elements absorbed and metabolized in the body. The effects of nutrients may only be discernible over an extended period, during which all food and waste must be analyzed. The number of variables involved in such experiments is high, making nutritional studies time-consuming and expensive, which
explains why the science of human nutrition is still slowly evolving. In general, eating a wide variety of fresh, whole (unprocessed), foods has proven favorable for one’s health compared to monotonous diets based on processed foods.  In particular, the consumption of whole-plant foods slows digestion and allows better absorption, and a more favorable balance of essential nutrients per Calorie, resulting in better management of cell growth, maintenance, and mitosis (cell division), as well as better regulation of appetite and blood sugar.
Regularly scheduled meals (every few hours) have also proven more wholesome than infrequent or haphazard ones, although a recent study has also linked more frequent meals with a higher risk of colon cancer in men.  There are six major classes of nutrients: carbohydrates, fats, minerals, protein, vitamins, and water. These nutrient classes can be categorized as either macronutrients (needed in relatively large amounts) or micronutrients (needed in smaller quantities). The macronutrients include carbohydrates (including fiber), fats, protein, and water. The micronutrients are minerals and vitamins.
The macronutrients (excluding fiber and water) provide structural material (amino acids from which proteins are built, and lipids from which cell membranes and some signaling molecules are built) and energy. Some of the structural material can be used to generate energy internally, and in either case it is measured in Joules or kilocalories (often called “Calories” and written with a capital C to distinguish them from little ‘c’ calories). Carbohydrates and proteins provide 17 kJ approximately (4 kcal) of energy per gram, while fats provide 37 kJ (9 kcal) per gram.
, though the net energy from either depends on such factors as absorption and digestive effort, which vary substantially from instance to instance. Vitamins, minerals, fiber, and water do not provide energy, but are required for other reasons. A third class of dietary material, fiber (i. e. , non-digestible material such as cellulose), is also required, for both mechanical and biochemical reasons, although the exact reasons remain unclear. Molecules of carbohydrates and fats consist of carbon, hydrogen, and oxygen atoms.
Carbohydrates range from simple monosaccharides (glucose, fructose, galactose) to complex polysaccharides (starch). Fats are triglycerides, made of assorted fatty acid monomers bound to a glycerol backbone. Some fatty acids, but not all, are essential in the diet: they cannot be synthesized in the body. Protein molecules contain nitrogen atoms in addition to carbon, oxygen, and hydrogen. The fundamental components of protein are nitrogen-containing amino acids, some of which are essential in the sense that humans cannot make them internally.
Some of the amino acids are convertible (with the expenditure of energy) to glucose and can be used for energy production, just as ordinary glucose, in a process known as gluconeogenesis. By breaking down existing protein, some glucose can be produced internally; the remaining amino acids are discarded, primarily as urea in urine. This occurs normally only during prolonged starvation. Other micronutrients include antioxidants and phytochemicals, which are said to influence (or protect) some body systems.
Their necessity is not as well established as in the case of, for instance, vitamins. Most foods contain a mix of some or all of the nutrient classes, together with other substances, such as toxins of various sorts. Some nutrients can be stored internally (e. g. , the fat soluble vitamins), while others are required more or less continuously. Poor health can be caused by a lack of required nutrients or, in extreme cases, too much of a required nutrient. For example, both salt and water (both absolutely required) will cause illness or even death in excessive amounts.