In phototherapy, skin is exposed to an ultraviolet (UV) light source for a set amount of time. It is used to treat certain skin conditions. UV lights are rays of light from the sun that are not visible. Phototherapy uses a man-made source of UV light for treatment.