What type of device are speakers and headphones?

Speakers are attached to computers for the output of sound. Sound cards are required in the computer for speakers to function. Speakers range from simple; two-speaker output devices to surround-sound and multichannel units.