speaker is an output device. It is said as an output device
because, most of the speakers are used to hear audio/sounds.
The inputs to hear sound from a speaker can be
> power/electricity
> a device to play the sound (that may be a mic, vcd, dvd,
mp3 player or even your computer)