How are MRIs and CAT scans similar?

They both use X-rays to create an image of the body.
They both transmit signals through radio waves.
They both use computers to produce images.
They both use magnets to excite molecules in the body.