The metabolic synthesis of proteins, fats, and other constituents of living organisms from molecules or simple precursors. This process requires energy in the form of ATP. Drugs that promote such metabolic activity are described as anabolic. See metabolism. Compare catabolism.