Pellagra is a disease caused by a deficiency of niacin (vitamin B3) and is characterized by the 'three Ds': dermatitis, diarrhea, and dementia, which can ultimately lead to death if untreated. It is most prevalent in populations with limited access to diverse food sources, particularly those relying heavily on corn-based diets without proper niacin bioavailability adjustments.