But a product's SPF indicates only its ability to defend against sunburn-causing ultraviolet-B rays and not against ultraviolet-A, which penetrate deeper into the skin and cause premature aging. (Both types contribute to skin cancer.) For example, a person wearing SPF 50 could spend considerable time in the sun without getting burned.