Sun lamp is an electrical device that produces artificial ultraviolet radiation. The energy given off by a sun lamp is similar to the ultraviolet radiation found in natural sunlight. Sun lamps are used primarily to produce a suntan, but they also have therapeutic uses.