Maglev is a system of train transportation that uses two sets of magnets: one set to repel and push the train up off the track, and another set to move the elevated train ahead, taking advantage of the lack of friction. Along certain "medium-range" routes, maglev can compete favourably with high-speed rail and airplanes.