When a doctor recommends an imaging test, it is natural to wonder why a particular scan has been advised and what it can show. CT scans, X-rays and ultrasounds are all commonly used to create images of structures inside the body, but each uses a different technology and serves different diagnostic purposes.