CAT/CT scans use X-rays and computers to create cross-sectional images of the body. They can be used to diagnose many conditions by detecting abnormalities in soft tissues and bones. During a scan, an X-ray tube rotates around the patient, emitting a thin beam that is combined with readings from an array of detectors to construct images of the body's internal structures and organs. CT scans provide more detailed information than plain X-rays and have largely replaced conventional radiography for many diagnostic tasks.