X-ray is a medical imaging technique that uses electromagnetic radiation to create images of internal body structures. It works by passing X-rays through the body, where different tissues absorb the radiation at different rates, creating a contrast on an X-ray film or digital detector.