<human>:  What is the difference between a CAT scan and an MRI?
<bot>: A CAT scan is a type of X-ray that uses a computer to generate cross-sectional images of the body. An MRI uses magnetic fields to generate images of the body. An MRI is more detailed than a CAT scan, but it is also more expensive.