method of keeping some people or animals separate from others for a set period of time, usually to prevent spread of disease in a population