Piezo vs normal speaker

hello guys,

i need to know please if the piezo speaker might damage the arduino if connected directly to it like the normal speaker ?

i have read on some forums that a speaker will damage the arduino same as dc motor so i need to know if the piezo speaker will damaged it 2 ?

if yes, then why on the website of arduino the example of tone they connected it to resistor and directly to arduino without using a transister ? (check the link below )

http://arduino.cc/en/Tutorial/Tone

can i use a normal 8ohm speaker instead of the piezo ?

and thanks in advance for all the replies

so i have to use the

so i have to use the transistor ? and what about the example from arduino ? they didn’t use anything but a resistor