Magnetic Levitation (Maglev) trains are one of the ways electromagnets are used every day.
Maglev trains carry passengers at speeds of 310 mph. The trains are able to reach such high speeds without falling apart partially because of their sturdy design but also because of their propulsion system. The trains are held up by magnetic forces when they approach higher speeds.the lack of physical contact with rails reduces friction to only that of air resistance, allowing the train to be more stable at high speeds.
The main issue keeping maglev trains from becoming more common is economical, not technological. Once the remaining problems are solved, these trains will be a better solution for high speed travel than the current bullet trains in use all over the world.