An oral or written agreement to do or not to do a certain thing.