UVA penetrates more deeply into skin and causes tans, while UVB is responsible for burns. But both of them cause skin cancer, although this is truer for UVB.