Niacin, also known as vitamin B3, plays important roles in the body including acting as a coenzyme in energy production and fatty acid and cholesterol synthesis. It is absorbed in the small intestine through both active and passive transport mechanisms depending on concentration levels. A deficiency in niacin can be caused by poor diet, smoking, kidney failure or other illnesses and can result in symptoms like headaches, skin issues, and high cholesterol levels. Niacin is used to treat conditions like pellagra and heart attacks.