duty
His duty is to guard the building.
They have the duty to clean the shore.
It is his duty to guard the vault.
noun 1
the responsibility of doing something morally or legally right