When a person agrees to do something or to "not" do something, that person is making a promise. A promise can be made (by saying it), or it can be written down as a contract. "Breaking" a promise, or not keeping it, is often just bad manners, but it can sometimes be illegal, such as when a contract is not kept.