How does An X-ray Machine Work?

An x-ray machine is like a big camera. It uses electromagnetic waves to penetrate different things so it can be absorbed by bone, fat, muscle, etc. and shown on the film.