The buzzer in the picture could just as easily be electromagnetic, as piezo. No specification or datasheet was provided.
An electromagnetic buzzer might use a mechanical interrupter as the osculating element. When current flows, the electromagnet turns on, opening a set of normally closed contacts, connected in series with it, causing the current to stop, the electromagnet to switch off and contacts to close again, then the electromagnet switches back on and the cycle repeats at an audio frequency. Alternatively, it could use an electronic oscillator, similar to the one used for the piezo, but the feedback coming from another winding, an arrangement known as a blocking oscillator.
http://www.sancoelectronics.com/mechanical-buzzer.aspIf you don't have a three wire piezo transducer, then the 74HC14 can be used to make an oscillator to drive it. The 74HC is only specified to work of 2V to 6V, so if you want to run at lower voltages (one or two AA cells) use the 74LV14, which will work down to 1V. If you want it to work above 6V, then use the CD40106, which will work up to 18V.