Rays are a kind of wave that allows doctors to view inside your form. They work by passing through soft tissues, but are blocked by bone and denser materials. This creates a picture which shows variations in weight, https://youtu.be/kBWJ5hc2_Cc?si=_0rtNgTQ8lU6OJCW