X-rays are a form of wave that lets doctors to see inside your body. They function by going through gentle tissues, but are hindered by bone and thicker materials. This forms a picture which shows variations in weight, https://youtu.be/kBWJ5hc2_Cc?si=_0rtNgTQ8lU6OJCW