Pellagra is a disease caused by low levels of niacin, also known as vitamin B-3. It's marked by dementia, diarrhea, and dermatitis, also known as “the three Ds”. If left untreated, pellagra can be fatal.