Beta carotene is a plant pigment that is converted into vitamin A when eaten. Sweet potatoes, carrots, pumpkin, and spinach are among the foods rich in beta carotene.