Meaning of “custody” - Learner’s Dictionary

custody

noun [ U ] uk us /ˈkʌstədi/
CHILD

the legal right to look after a child, especially when parents separate:

When they divorced, it was Nicola who won custody of their two children.
PRISON

the state of being kept in prison, usually while you are waiting for a trial in court:

He is being held in custody in Los Angeles charged with assault.
He was taken into custody by Mexican authorities.

(Definition of “custody” from the Cambridge Learner’s Dictionary © Cambridge University Press)