Answer: X rays are high energy electromagnetic waves, but visible light is medium energy electromagnetic waves.
The visible spectrum is very narrow compared to the X-ray spectrum.
X rays can penetrate the human body but visible light is not capable of doing that. Hope this helped! :)