Annatto has been used for centuries for various purposes. Traditionally, it was used for body painting, as sunscreen, as an insect repellant, and for treating disorders, such as heartburn, diarrhea, ulcers, and skin issues ( 22 ). Today, it's mainly used as a natural food coloring and for its flavor profile.