Soldered Support:
Technically an AC signal is needed, but you can generate an AC signal using a microcontroller (which runs on DC power) with a PWM output on a digital pin.
Here’s our article on working with buzzers: https://soldered.com/hr/learn/buzzer/
Intensity depends on voltage (with a limit beyond which the speaker can be permanently damaged), and the tone frequency depends on the PWM signal frequency sent from an Arduino/Dasduino.
Regarding question 3: yes, there are many variants of the same product because there are small but significant differences in how different users apply them. For a simple project like this, most electronic buzzers should work fine.
Regarding question 4: resistors are needed to limit current flow. For example, with an LED, if connected without a resistor, current will flow from + to - through the LED as if it’s not there - like a short circuit. For connecting the buzzer, check the article I linked above. For LEDs: https://docs.arduino.cc/built-in-examples/basics/Blink/
For buttons: https://docs.arduino.cc/tutorials/generic/digital-input-pullup/
This is the simplest way to connect a button and doesn’t require a resistor.
Regarding question 5: it’s possible to control buzzer volume with a variable resistor. Just connect a 200 ohm resistor in series with it, so that even if you turn it all the way to 0, you still have at least 200 ohms in series. There always needs to be some resistance 
Original message (Croatian)
tehnički, potreban je AC signal, ali AC signal se može dobiti putem mikroupravljača (koji je sam napajan DC napajanjem) koristeći PWM izlaz na digitalnom pinu.
Evo našeg članka o tome kako raditi sa buzzerom: https://soldered.com/hr/learn/buzzer/
Intenzitet ovisi o naponu ( s tim da postoji ograničenje pri kojem se zvučnik može trajno oštetiti) a visina tona ovisi o frekvenciji PWM signala koji se šalje od Arduina/Dasduina.
U vezi 3. pitanja, da, postoji puno varijanta na isti proizvod zato što postoje male ali bitne razlike u primjeni različitih korisnika, ja mislim da za ovako jednostavan projekt, većina tih elektroničkih buzzera će raditi OK.
U vezi 4. pitanja, otpornici su potrebni kako bi ograničili protok struje. Npr, na LE-diodi, ako se ona spoji bez otpornika, struja će teći od + prema - kroz diodu, kao da ne prolazi kroz ništa - to je isto kao da se dogodio kratki spoj. Za spajanje zujalice pogledaj članak koji sam napisao gore, za ledicu: https://docs.arduino.cc/built-in-examples/basics/Blink/
Za button pogledaj: https://docs.arduino.cc/tutorials/generic/digital-input-pullup/
To je mislim najjednostavniji način spajanja buttona, ne zahtjeva otpornik.
U vezi 5. moguće je kontrolirati glasnoću buzzera sa promjenjivim otpornikom, samo spoji uz njega serijski jedan od 200 ohma, tako da čak iako okreneš ovaj na 0, još uvijek ćeš imati barem 200 ohma spojeno serijski. Uvijek mora biti ‘neki’ otpor 
Drago nam je pomoći, nema problema, zato smo tu 
Nadam se da će ti ove informacije i članci koji sam poslao biti korisni.