X-rays are electromagnetic waves that can penetrate skin, but not bone. In hospitals, X-rays are used to produce images of bones. How do X-rays compare to visible light?

A.
Visible light has a higher frequency and carries less energy than X-rays.
B.
X-rays have a higher frequency and carry more energy than visible light.
C.
Visible light has a higher frequency and carries more energy than X-rays.
D.
X-rays have a higher frequency and carry less energy than visible light.

B. X-rays have a higher frequency and carry more energy than visible light.