How does an x-ray work?

What is X-Ray? An X-ray device is basically a camera. But unlike an ordinary camera where visible light exposes the film, an X-ray uses x-rays instead. X-rays are like visible light waves  like visible lig...