What vibrates in a loudspeaker?

Loud speaker usually has two electromagnets (or a permanent magnet and an electromagnet). When an audio signal in the form of an electric signal with desired frequency is applied to both electromagnets in opposite direction at same time so that they act as magnets with same polarities facing. This makes them repel with the given frequency, thus producing sound.