There are multiple definitions - click on the translation that matches your context.

义务

名词

full

obligation

noun

Definitions of obligation

a legal duty to do or not do something, especially as a result of the terms and conditions of a contract; something that you have to do because of some moral or legal duty

Manchester United has denied cutting short David Beckham's honeymoon because of contractual obligations.