X-rays are used to see inside things that can’t be opened up, from broken bones and infected lungs to airplane parts and protein molecules. Most people encounter them in a medical setting, where they remain one of the fastest and most widely available imaging tools. But their applications stretch well beyond the doctor’s office into cancer treatment, airport security, industrial manufacturing, and scientific research.
How X-Rays Create an Image
X-rays are a form of electromagnetic radiation, similar to visible light but with much higher energy. When directed at your body, they pass easily through soft tissues like skin, muscle, and organs but get absorbed by denser materials like bone and metal. A detector on the other side captures whatever radiation makes it through, producing an image where dense structures appear white and air-filled spaces appear black. Everything else falls on a spectrum of gray in between.
This difference in absorption is why a chest X-ray can distinguish your ribs from your lungs, or why a dental X-ray reveals a cavity hiding between two teeth. The same principle applies outside medicine: an X-ray of a welded pipe will show the thicker welding site as bright white against the surrounding metal, making hidden cracks visible.
Diagnosing Bone and Joint Problems
Fractures are the most familiar reason people get X-rays. A standard X-ray can reveal breaks in any bone, from hairline cracks in a wrist to complex fractures in a hip. It also picks up joint dislocations, signs of arthritis, and abnormal bone growths. The radiation dose for an X-ray of your limbs or joints is roughly 0.06 millisieverts, an extremely small amount (for comparison, you absorb about 3 millisieverts from natural background radiation every year just going about your life).
Beyond static images, doctors sometimes use a technique called fluoroscopy during orthopedic surgery. This produces a continuous, real-time X-ray video that helps surgeons align bone fragments, place pins or screws, and confirm that hardware is positioned correctly before closing an incision.
Chest X-Rays and Internal Organs
The chest X-ray is one of the most commonly ordered imaging tests in medicine. If you show up to an emergency room with chest pain, shortness of breath, or a chest injury, you’ll almost certainly get one. A single chest X-ray delivers about 0.02 millisieverts of radiation, roughly equivalent to a few hours of natural background exposure.
That one image can reveal a surprising number of conditions. Pneumonia shows up as white, hazy patches in the lung fields. A collapsed lung appears as a dark area where air has leaked into the space surrounding the lung. Fluid buildup in the lungs, often a sign of congestive heart failure, creates a characteristic cloudy pattern on the image. Doctors can also assess the size and shape of your heart: an enlarged silhouette may point to heart failure or fluid around the heart. Lung nodules, which are small round spots, sometimes indicate an old resolved infection but can also be an early sign of cancer. An abdominal X-ray, which delivers a higher dose of about 0.7 millisieverts, can help identify bowel obstructions, kidney stones, and swallowed objects.
Dental X-Rays
Your dentist uses X-rays to catch problems that aren’t visible during a regular exam. A set of four bitewing X-rays delivers only about 0.004 millisieverts of radiation, making it one of the lowest-dose imaging procedures available. These images reveal cavities forming between teeth, decay hiding under existing fillings, bone loss in the jaw, abscesses at tooth roots, impacted teeth that haven’t broken through the gum, and cysts or tumors in the jawbone. Specialized views called occlusal X-rays can also detect jaw fractures and issues under the tongue or on the roof of the mouth.
Breast Cancer Screening
A mammogram is an X-ray of the breast, and it remains the best tool available for detecting breast cancer in most women of screening age. The U.S. Preventive Services Task Force recommends that women at average risk get a mammogram every two years starting at age 40 through age 74. A standard four-image mammogram delivers about 0.13 millisieverts of radiation. These images can detect tumors too small to feel during a physical exam, calcifications that may signal early cancer, and changes in breast tissue density over time.
Real-Time Imaging With Fluoroscopy
Standard X-rays produce a single still image. Fluoroscopy uses continuous X-rays to create a live video feed, letting doctors watch movement inside the body in real time. This is essential for procedures where precision matters and the target is moving or hard to reach.
During a barium swallow test, for instance, you drink a contrast liquid while fluoroscopy tracks it moving through your esophagus and stomach, revealing blockages, narrowing, or abnormal movement patterns. In angiography, a contrast dye is injected into your blood vessels so doctors can watch blood flow through arteries on a live screen, identifying blockages or weak spots. Fluoroscopy also guides the placement of stents to open narrowed blood vessels, the insertion of catheters into veins or the urinary tract, and cardiac catheterization procedures. If you’re having one of these guided procedures, you’ll typically be sedated.
Cancer Treatment
X-rays don’t just find cancer. They treat it. External beam radiation therapy uses high-energy X-rays aimed directly at tumors to damage the DNA inside cancer cells. When that DNA damage is severe enough, the cells stop dividing and die. The body then breaks down and clears away the dead tissue over time. A machine directs the radiation beam precisely at the tumor from outside the body, which is why it’s called “external beam” therapy. This approach is used for a wide range of cancers, either as a primary treatment or alongside surgery and chemotherapy to shrink tumors or destroy remaining cancer cells.
Industrial Inspection
Manufacturers and engineers use X-rays to inspect materials without cutting them open or taking them apart, a process known as non-destructive testing. X-rays and gamma rays can pass through metal, soil, and water, making them ideal for spotting internal flaws that are invisible from the surface. Industries routinely X-ray gas and oil pipelines to find corrosion or cracks, metal welds to check for weak spots before a structure goes into service, boilers and pressure vessels to ensure safety, and vehicle and aircraft parts to catch manufacturing defects. On the radiograph, variations in material thickness and density appear as differences in brightness, making flaws stand out clearly against the surrounding material.
Airport security scanners work on the same principle. Your carry-on bag passes through a cabinet-style X-ray machine, and the resulting image lets security officers see the contents without opening anything. Different materials (metal, organic compounds, plastics) absorb X-rays at different rates, which is why the scanner displays items in different colors.
Scientific Research
X-ray crystallography is the leading technique for determining the three-dimensional structure of proteins and other biological molecules. Researchers purify a protein, grow it into a crystal, and then expose that crystal to a focused X-ray beam. The X-rays scatter off the atoms in the crystal, producing a diffraction pattern of spots. By analyzing the position and intensity of those spots, scientists can calculate a map of where every atom sits in the molecule and build a detailed 3D model of its structure. This technique has been foundational in biology and medicine, revealing the structures of DNA, thousands of drug targets, and the proteins that viruses use to infect cells. The X-rays used in crystallography can come from traditional lab equipment or from synchrotrons, large particle accelerators that produce extremely bright, focused beams.
Radiation Risk in Perspective
Any discussion of X-rays eventually raises the question of radiation safety. The doses involved in diagnostic imaging are small. A chest X-ray delivers 0.02 millisieverts, a dental set about 0.004 millisieverts, and even an abdominal X-ray stays under 1 millisievert. Below a cumulative dose of 100 millisieverts, no measurable increase in cancer risk has been demonstrated in studies. By one widely used estimate, 10 millisieverts of exposure could theoretically raise an adult’s lifetime risk of dying from cancer from 21 percent to 21.05 percent. That’s a 0.05 percent change. You would need hundreds of chest X-rays to reach that 10-millisievert threshold.
For most people, the information gained from a diagnostic X-ray far outweighs the minuscule radiation exposure involved. The doses used in radiation therapy for cancer are intentionally much higher and targeted specifically at tumor tissue, which is a fundamentally different situation from diagnostic imaging.

