Which rays of the electromagnetic spectrum are responsible for causing sunburn when you spend too much time exposed at the beach?

A) Ultraviolet
B) X-rays
C) Gamma
D) Visible
E) Infrared

Correct answer will be given the Brainliest! :D