You CANNOT get vitamin C from the sun.
More Info: Vitamin D is the vitamin that is synthesized by the human body through exposure to the sun's ultraviolet B rays, for as little as 10 to 20 minutes per day. In the case of Vitamin C, humans ingest it through the consumption of fruits and vegetables that have gained it through their separate exposure to the sun. On the other hand, Vitamin C can be a great way to reduce the effects of a bad sunburn, a.k.a. erythema.
Critical Body Functions
The reason the human body does not store vitamin C is that it is a water-soluble vitamin. The ingestion of vitamin C from fruits such as papaya, oranges and mangos or vegetables such as broccoli, tomatoes and cauliflower help the human body manage various critical functions.
First and foremost, vitamin C is processed by the human body into collagen, a critical item for the maintenance of blood vessels, cartilage, ligaments, tendons and more. Vitamin C also helps heal wounds, feed a healthy composition of bones and teeth, and protect against the adverse effects on certain parts of the human body of oxygen.
Shield against Diseases
Another important aspect of vitamin C, and why it is so important for humans to get their daily recommended dose from fruits, vegetables or supplementary sources, is that the vitamin can help fight against a wide range of ailments and diseases.
At the very top of this list is heart disease and high blood pressure. Vitamin C on its own can't prevent these twin threats, but it can provide an important part of a person's overall guarding against their onset. Other ailments that have been clinically shown to be buttressed by vitamin C include the common cold, arthritis and cancer. To a lesser guaranteed extent, vitamin C can also have a beneficial impact for sufferers of asthma, the eye disease uveitis, diabetes, dry mouth and a range of common allergies.