Magic carpet

Magic Carpets or just Carpets are magical flying carpets that has appeard in several Mario-games in the Marioverse.

Flying in Subcon
They originally appeard in Super Mario Bros. 2, where Pidgits flew on them, and if Mario and the gang defeated the Pidgit that was on the carpet, they would be able to use it like Lakitu's Cloud. This concept may have inspired the ability for players to ride on the clouds, which eventually became possible in Super Mario World. Like them, Lakitu's Cloud also disappeared after a while.

Rainbow Riding
They were again found in Super Mario 64, on the stage Rainbow Ride. These carpets were much different from the ones that appeard in the earlier game, most notably, they eren't ride by Pidgis. These would also not let Mario ride at free will, instead on a pre-set rainbow. They would also not move if Mario not was riding them. They would also not only disappear after a special amount of time, but also if Mario was away too long.

Temperor and sticked in time
Pidigits reappeard in this Mario & Luigi: Partners in Time and Super Princess Peach, riding on the magic carpets.

Wario's Woods
Pidigits (as Black Bats) reappeard in this Wario's Woods, riding on the magic carpets.

Super Smash Bros. tournaments
Two different Mario-stages featured magic carpets in Super Smash Bros. Melee.

The first one was the Mushroom Kingdom II stage. Pidgits were sometimes flying around the stage in a 2-D form. However, their carpets were in 3-D and, at the times Pidgit was on the screen, could be used as a extra platform. The time was short however and it flied fast, so it was very easy to cause a self-destruct.

The other stage was the Rainbow Ride-themed Rainbow Cruise. Unlike in 64 these could be used as a extra platform and be ride around at free will. Just like in 64, they would also disappear if a player was off or on it for too long. Also, any other player could take the carpet by attacking the one that already has the carpet.

Cartoon
In the The Super Mario Bros. Super Show! it appeared as a vehicle of Mushroom World. Mario, Luigi, Princess Toadstool, Toad and other characters used these carpets sometimes.

In the episode "Mario's Magic Carpet", Magic Carpets appeared to have a car-like protrusion on the carpet. However, in the episode "Mario and the Red Baron Koopa", different carpets were seen. King Koopa was seen flying a Magic Carpet that had a warplane protusion, while Mario and Luigi flew around on an normal looking carpets that had a steering wheels. Later on in the episode, Mario, Luigi and Toad used two ordinary Magic Carpets together to construct the wings of a biplane.

Trivia

 * In the episode "Mario's Magic Carpet", it was established that Magic Carpet is the favorite food of Pidgits.
 * Sam Shalam of Cloud Land is a used Magic Carpet dealer.