What is the meaning of Captivity?

The state of being captive.

A group of people/beings captive.

The state or period of being imprisoned, confined, or enslaved.

Source: wiktionary.org