Niacin is found in a variety of foods, including meat, fish, poultry, whole grains, and legumes. It can also be synthesized in the body from the amino acid tryptophan, which is present in protein-rich foods.