Vitamin B3, also known as niacin, is a commonly used vitamin across food, health, and pharmaceutical…