Question: what is the working principle of headphones?
Answer: In principle, headphones work the same as speakers, and the opposite of microphones — that's to say, they essentially turn electrical energy into sound by using magnets to vibrate the air, which creates sound. Digital audio is stored in a device in the form of data — 1's and 0's.