While sun exposure can cause skin cancer, it also reduces overall mortality rates, including from various cancers.