意味

detainはde(分離する、切り離す)+tain(保持する)が由来で、一部の人物を切離して、一時的に引き留める、拘束するという意味です。
例文
The police detained the suspect.
警察は容疑者を拘束した
I’m sorry to detain you for so long.
長く引き止めてしまってすみませんHe was detained at the airport.
彼は空港で足止めされた
They detained him for questioning.
彼らは事情聴取のために彼を拘束したI won’t detain you any longer.
もうこれ以上引き止めません
関連語:detention
detentionはdetainの名詞形で、「一時的な拘束・拘留」という意味です。そこから派生して、学校での(罰としての)居残りという意味でも使われます。ただし会社での居残り残業という意味では使われません。残業は基本的work overtimeです。
be in detentionやbe held in detentionという表現で「拘束・拘留されてる」という意味で使われ、get detentionの場合は基本的に「(学校で)居残りさせられる」という意味になります。
He was held in detention for two days.
彼は2日間拘留されたThe student got detention after school.
その生徒は放課後に居残りさせられた
The migrants were kept in a detention center.
移民は収容施設に拘留された