An obligation is a legal duty, by which a person is bound to do or not to do a certain thing.
Ca. Civ. Code § 1427