Maglev trains are trains that are not in contact with the ground due to the use of electromagnets for levitation and propogation
There are 2 types of maglev trains currently in operation, Electrodynamic suspension and electromagnetic suspension systems.
(ill just discuss EDS cos its the only one with superconductors)
For levitation, on the track, electromagnets are used that are not superconducting, just regular magnets. On the train, superconducting wire is used in the electromagnet to allow large currents to flow and hence create a powerful magnetic field. These are cooled by liquid nitrogen. By making the electromagnets repel each other (either by N facing N or S facing S) the train is able to levitate. (diagram)
For propulsion, equal strength electromagnetic interaction by magnets on the train and to the left and right of train are required. The electromagnets on the train are of fixed poles, while the electromagnets on the track are constantly alternating poles to create attraction and repulsion in phase with the motion of the train, necessary to either accelerate or decelerate the train. (diagram is a must)
Through these two sets of electromagnetic interaction, maglev trains are able to both levitate and be moved along a track.