Rays are a form of energy that allows doctors to view inside your body. They work by going through soft tissues, but are stopped by bone and heavier materials. This generates a view which reveals variations in weight, https://youtu.be/kBWJ5hc2_Cc?si=_0rtNgTQ8lU6OJCW