The main function of vitamin A is to support vision, especially in dim lighting, by creating pigments that are needed to help keep the retina of the eye healthy. It also helps produce the protein rhodopsin, which absorbs light in the retina. In addition, vitamin A helps support the growth and development of the cornea and other membranes of the eye.