Quarantine refers to the separation of people who have been exposed to a contagious pathogen…