CT scans are mainly used for seeing which areas of the brain are damaged, whereas PET and MRI scans are better at measuring the underlying brain activity
If you're shown images that make you sad while in an MRI machine, certain parts of your brain will appear brighter because they're associated with feeling sadness