Too much exposure to sun’s UV rays accelerates the effects of aging and increases the risk of skin cancer.
According to Cancer Research UK, “Malignant melanoma (*the most dangerous form of skin cancer) risk is more closely linked with intermittent exposure to high-intensity sunlight (e.g. sunbathing or holidaying in a place with strong sunlight), than to chronic sunlight exposure (e.g. being in an outdoor occupation), a meta-analysis has shown”
But sunscreen can protect you from that.