To produce an image, an x-ray machine shoots an x-ray beam through the body. The beam passes through soft tissue but not through bones, due to their calcium density. The beam that passes through then interacts with film, which results in an image of the bones. The darker and lighter areas on an x-ray image correlate to how much radiation was absorbed by the tissues rather than passing through to the film.