You even have a contract when you are buying a piece of candy at the newsstand.
(At least in the common law world. In eg German law technically you have one contract for the piece of candy, and one contract for each individual coin you are handing over. See https://en.wikipedia.org/wiki/Abstraction_principle_(law) Germans are a bit crazy.)