An agreement between two or more people that creates an obligation to do or not to do a particular thing.