Magnets are often used in electronics as magnets help generate electricity. Electricity also helps create an electromagnetic force so magnets and electricity work with each other. Both permanent magnets and electromagnets can be used in electronic devices but they both have different purposes.
THE TYPICAL APPLICATIONS AND USES OF OUR MAGNETS CAN BE SEEN BELOW.
Computers
Generators
Speakers
Televisions
Motors

Typical applications of magnets within the medical industry
In a speaker, the speaker cone vibrates, pulling and pushing the air to create sound waves. The conversion from electrical to mechanical energy occurs through an electromagnetic coil and magnet combination attached to the cone. The speaker cone is moved back and forth by the electromagnetic field of the coil which changes when the electrical current generated by the sound source passes through it.

Magnets for Headphones
Magnets play a key role in headphones as they need a magnetic field to turn the electric audio signals into sound waves. The headphone driver acts as the transducer and relies on magnets to effectively convert the energy. Read this article to find out more about how magnets are used and work within headphones.