Diagnostic imaging, also known as medical imaging, is the use of electromagnetic radiation to produce images of internal body structures for diagnosis. There are an array of machines, which include X-rays and ultrasound, used to create images of the anatomy and activities inside your body.