X-ray imaging is a diagnostic technique that uses electromagnetic radiation to produce images of the internal structures of the body, primarily bones and certain tissues. It is a non-invasive method that helps in diagnosing fractures, infections, and diseases by providing a visual representation of the area of interest.