Earbuds work by converting electrical audio signals into sound waves. They consist of small drivers, typically dynamic drivers or balanced armature drivers, which vibrate to produce sound when electrical signals from an audio source are passed through them.