The term animal captivity is usually applied to wild animals that are held in confinement, but this term may also be used generally to describe the keeping of domesticated animals such as livestock or pets. This may include, for example, animals in farms, private homes, zoos, and laboratories.