and ct mean getting sections of your body with the aid of computer. Only difference is in "how".
Ct uses x-rays and MRI uses radiowaves in a magnetic field.
You lay still inside a machine which lookd like a short tunnel (gantry) and these enregies (x-rays or radiowaves) go through your body and records the density of your tissue. The computer analyzes the density and display image.