obligation

noun B2
/ˌɒblɪˈɡeɪʃən/

something that you must do because of a law, rule, promise, or because it is morally right

“You have a legal obligation to pay your taxes.”

majburiyat