The skin protects against heat, sunlight, injury, and infection. Skin also helps control body temperature and stores water and fat. Skin cancer is the most common type of cancer. It usually forms in skin that has been exposed to sunlight, but can occur anywhere on the body.