Parents have a duty to protect their children from harm.
親には子供を危険から守る義務があります。
/ˈdjuːti/デューティ
道徳的、法律的に果たすべき責任。
Parents have a duty to protect their children from harm.
親には子供を危険から守る義務があります。

道徳的、あるいは法律的に当然行うべきことや、自分の役割として果たすべき責任のこと。
道徳的・法律的な責任を表す名詞です。責任を果たす場合はdo one's duty、責任を感じる場合はfeel a dutyと言います。
「仕事の任務」や「関税」という意味もありますが、今回は「道徳的・法律的な義務」に限定して解説しています。
「義務感」を指す場合はa sense of dutyという表現がよく使われます。また、責任を果たすことはdo one's dutyと言います。
基本例文に加えて、用途の異なる3つの場面で使い方を確認します。
Parents have a duty to protect their children from harm.
親には子供を危険から守る義務があります。
It is our duty to help those who are in need.
困っている人々を助けることは私たちの本分です。
She felt a strong duty to support her aging parents.
彼女は高齢の両親を支える強い義務を感じていました。
Every citizen has a duty to follow the law.
すべての市民には法律に従う義務があります。