MRI is preferred in situations where detailed imaging of soft tissues is required. For example, it is the gold standard for diagnosing adenomyosis, a condition where endometrial tissue exists within and grows into the muscular wall of the uterus. MRI is also beneficial in evaluating complex ovarian masses and distinguishing between benign and malignant lesions.