Most skin cancers are caused by exposure to light from the sun. The light that comes from the sun is a kind of ultraviolet light. That kind of light also can come from tanning beds and tanning lamps. Ultraviolet light contains radiation that changes the DNA inside skin cells and leads to skin cancer.
Not all skin cancers happen on skin that typically gets a lot of sun. This means something else also causes skin cancer. It's not always clear what causes skin cancer. But healthcare professionals have found some things that increase the risk. These include having a weakened immune system and having a family history of skin cancer.
Skin cancer starts when skin cells develop changes in their DNA. A cell's DNA holds the instructions that tell the cell what to do. In healthy cells, the DNA tells the cells to grow and multiply at a set rate. The DNA also tells the cells to die at a set time.
In cancer cells, the DNA changes give different instructions. The changes tell the cancer cells to grow and multiply quickly. Cancer cells can keep living when healthy cells would die. This causes too many cells.
The cancer cells can invade and destroy healthy body tissue. In time, cancer cells can break away and spread to other parts of the body. When cancer spreads, it's called metastatic cancer.