Exemption means being freed from an obligation. Immunity means being freed from disease or legal consequences. Isolation creates immunity. The relationship is 'state of being freed : similar protective state'. Discharge-elimination are related but different concepts. Debarment-prevention is action-result. Forgive-condone are synonyms. Enclosure-open are antonyms.