Quarantine and isolation laws are critical during outbreaks of contagious diseases. Quarantine restricts the movement of individuals who may have been exposed to a contagious disease but are not yet symptomatic. Isolation, on the other hand, separates those who are already ill from healthy individuals. These measures are legally enforced to prevent the spread of diseases.