text: Vitamin D is produced when the skin is exposed to UVB, whether from sunlight or an artificial source. It is needed for mineralization of bone and bone growth. Areas in which vitamin D's role is being investigated include reducing the risk of cancer, heart disease, multiple sclerosis and glucose dysregulation. Exposing arms and legs to a minimal 0.5 erythemal (mild sunburn) UVB dose is equal to consuming about 3000 IU of vitamin D3. In a study in Boston, MA, researchers found that adults who used tanning beds had "robust" levels of 25(OH)D (46 ng/mL on average), along with higher hip bone density, compared to adults who did not use them.
  Obtaining vitamin D from indoor tanning has to be weighed against the risk of developing skin cancer. The indoor-tanning industry has stressed the relationship between tanning and the production of vitamin D. According to the US National Institutes of Health, some researchers have suggested that "5–30 minutes of sun exposure between 10 AM and 3 PM at least twice a week to the face, arms, legs, or back without sunscreen usually lead to sufficient vitamin D synthesis and that the moderate use of commercial tanning beds that emit 2%–6% UVB radiation is also effective". Most researchers say the health risks outweigh the benefits, that the UVB doses produced by tanning beds exceed what is needed for adequate vitamin D production, and that adequate vitamin D levels can be achieved by taking supplements and eating fortified foods.