X-rays are absorbed differently by different materials. Heavy elements like calcium absorb X-rays much more than light elements like carbon and hydrogen. This is why bones stand out clearly on X-rays, while soft tissues like fat, muscle and tumors are difficult to distinguish as they absorb X-rays equally. The intensity of an X-ray beam decreases exponentially as it passes through materials due to absorption and scattering of photons. The thickness of material needed to reduce an X-ray beam's intensity by half is known as the half-value layer, which depends on the linear attenuation coefficient of the material.