The period of time during which a person or animal that has a disease or that might have a disease is kept away from others to prevent the disease from spreading
Example: I remember clearly that during the Ebola epidemic, infected persons were quarantined to prevent the spread of the disease.