Your skin's job is essential—it protects you from bacteria and other substances and helps control your body's temperature. The skin's three main layers are the:
- Dermis (middle layer)
- Epidermis (outer layer)
- Hypodermis (inner layer closest to bone)
Most skin cancers occur in the epidermis. Exposing your skin to harmful ultraviolet rays from the sun or tanning beds increases your risk of developing skin cancer. Having light skin or a family history of skin cancer also increases your risk.