Both types of scan have similar uses, but they produce images in different ways. A CT scan uses X-rays, whereas an MRI scan uses strong magnetic fields and radio waves. CT scans are more common and less expensive, but MRI scans produce more detailed images.