CT and MRI scans are both diagnostic tests that produce images of the inside of the body. CT scans see inside the body using X-rays, while MRI scans use strong magnetic fields and radio waves to take images. MRIs provide a more detailed picture of internal structures but are also more expensive than CT scans.