Rays are a form of energy that lets doctors to view inside your form. They work by passing through soft tissues, but are hindered by bone and thicker materials. This forms a image which reveals variations in thickness, https://youtu.be/kBWJ5hc2_Cc?si=_0rtNgTQ8lU6OJCW