X-rays are a form of electromagnetic radiation, the same broad family that includes visible light, radio waves, and microwaves. What makes them special is their extremely short wavelength (between 0.01 and 10 nanometers) and high energy, which allows them to pass through soft materials like skin and muscle while being absorbed by denser materials like bone and metal. That property is what makes them so useful in medicine, security, and industrial testing.
How X-rays Work as Radiation
All electromagnetic radiation travels in waves, and the shorter the wavelength, the more energy the wave carries. X-rays sit near the high-energy end of the electromagnetic spectrum, between ultraviolet light and gamma rays. Their wavelengths are thousands of times shorter than those of visible light, which is why they can penetrate materials that light cannot.
When an X-ray beam hits your body, different tissues absorb different amounts of that energy. Dense tissue like bone, which is rich in minerals, absorbs most of the X-rays and appears white on the resulting image. Soft tissue like muscle absorbs less and appears gray. Air-filled spaces like your lungs absorb almost none and appear black. That contrast between tissues is what creates the familiar black-and-white image.
How X-rays Are Produced
Inside a medical X-ray machine is a sealed glass tube containing a vacuum. At one end sits a heated filament (the cathode) that releases electrons. A high voltage accelerates those electrons at enormous speed toward a tungsten metal target (the anode) at the other end. When the fast-moving electrons slam into the tungsten atoms, they lose energy, and that energy is released as X-ray photons.
This happens in two ways. Sometimes an incoming electron knocks an inner electron out of a tungsten atom, and when an outer electron drops down to fill the gap, it releases energy as an X-ray. Other times, an electron simply passes close to a tungsten nucleus, gets deflected and slowed down, and sheds energy as an X-ray in the process. Both types combine to produce the beam that’s directed at whatever needs imaging.
Medical Uses
X-ray imaging falls into three main categories: standard radiography, fluoroscopy, and computed tomography (CT).
Standard radiography is the most common. It produces a single still image and is used for everything from checking for broken bones to screening for pneumonia, detecting lung tumors, and evaluating heart size. Bone imaging is arguably its strongest role: radiographs can reveal fractures, arthritis, bone infections, and tumors. Mammography, the primary screening tool for breast cancer, is also a form of X-ray radiography. Standard X-rays remain the workhorse of medical imaging because they’re fast, inexpensive, widely available, and deliver a relatively low radiation dose.
Fluoroscopy uses X-rays to create real-time moving images, displayed on a monitor as the exam happens. It’s useful for watching contrast dye flow through blood vessels, the digestive tract, or the urinary system. Doctors also use it to guide needle placements for joint injections or to check the positioning of surgical implants.
CT scanning takes X-ray technology further by rotating an X-ray source and detector array around your body, then using a computer to reconstruct cross-sectional “slices.” This produces detailed 3D images of internal organs, blood vessels, and bones that a standard X-ray can’t provide.
What Getting an X-ray Is Like
For a standard X-ray, the process is quick and painless. You’ll typically be asked to wear a hospital gown and remove jewelry, watches, eyeglasses, and anything else metallic, since metal blocks X-rays and would obscure the image. A technologist positions you against a flat panel or detector, steps behind a shielded wall, and takes the image in a fraction of a second. The whole visit often takes less than 15 minutes.
Some specialized X-ray exams require a contrast agent, a liquid that shows up brightly on the image and helps outline structures that would otherwise be hard to see. Depending on what’s being examined, contrast might be swallowed, injected into a vein, or introduced through a catheter. These exams take longer and may involve some preparation beforehand, like fasting.
Radiation Dose and Safety
X-rays are ionizing radiation, meaning they carry enough energy to knock electrons off atoms in your body. When that happens inside or near a cell’s DNA, it can cause damage. About two-thirds of that DNA damage happens indirectly: the X-ray energy splits water molecules inside cells into highly reactive fragments called free radicals, which then attack the DNA strand. The remaining third comes from X-rays hitting DNA directly.
That sounds alarming, but dose matters enormously. A single chest X-ray delivers roughly 0.1 millisieverts (mSv) of radiation. For comparison, the average person in the U.S. absorbs about 3 mSv per year just from natural background sources like cosmic rays and trace radioactive elements in soil. So one chest X-ray is equivalent to about 10 days of the radiation you’d receive simply by existing. CT scans deliver more (typically 1 to 20 mSv depending on the body part), which is why doctors weigh the diagnostic benefit against the exposure before ordering one.
Your cells are well equipped to repair minor DNA damage, and the overwhelming majority of diagnostic X-rays fall in the low-dose range where the added risk is extremely small. Still, the guiding principle in radiology is to use the lowest dose that produces a useful image.
Digital X-rays vs. Traditional Film
Older X-ray systems captured images on photographic film, much like a camera. Modern systems use digital sensors or special phosphor plates that convert X-ray energy into electronic signals. This shift brought several practical advantages. Digital phosphor plates are two to four times more sensitive than film, which means less radiation is needed to get a usable image. Solid-state flat panel detectors push that efficiency even further, producing higher-quality images at lower doses than any previous technology.
Digital images can also be adjusted after they’re captured. If an image comes out slightly too dark or too light, a technologist can correct it on screen rather than re-exposing the patient. The images are stored electronically, shared instantly with specialists, and won’t degrade over time the way film can.
Uses Outside of Medicine
X-rays play a major role in industry and security. In manufacturing, industrial radiography works on the same principle as a medical X-ray: a beam is aimed at a metal weld, pipe, or pressure vessel, and a detector on the other side records what passes through. Cracks, air pockets, or other internal flaws show up as areas where more radiation made it through, since the material is thinner or less dense at those points. Industries that rely on welding, from oil pipelines to aerospace, use this technique routinely to verify structural integrity without cutting anything open.
Airport security scanners use low-dose X-rays to see inside luggage, distinguishing organic materials (food, clothing, explosives) from metals and other dense objects based on how much radiation each material absorbs. In scientific research, X-ray crystallography bounces X-ray beams off the atomic structure of crystals to map the 3D arrangement of molecules, a technique that has been central to discoveries ranging from the structure of DNA to the development of new drugs.

