Carpet

Carpet is a character from Kingdom Hearts, Kingdom Hearts II and Kingdom Hearts 358/2 Days. It serves mainly as transportation in Agrabah.

Kingdom Hearts
''A magical flying carpet, loyal to Aladdin. Carpet can carry passengers over the vastness of the desert at great speed. The Heartless had Carpet pinned to the floor under a chest.''

He enchanted us in "Aladdin" (1992).

Kingdom Hearts II
Aladdin (1992)

A magical flying carpet.

''Carpet is an old friend of Genie's. Ever since Aladdin found him in the Cave of Wonders, Carpet will do anything to help him. Carpet can carry Aladdin across the vastness of the desert in the blink of an eye.''

Kingdom Hearts
Carpet was trapped under a drawer when Sora and co. went into Aladdin's house. Once they released it, it led them to the desert where it later brought them to Aladdin and Abu, who were trapped in a quicksand and surrounded by Heartless.

It played an important role in helping Sora and co. to escape the Cave of Wonders. After sealing Hollow Bastion, Sora can "talk" to him in Aladdin's house. Agreeing with the Carpet's request will take you to a powerful optional boss, Kurt Zisa. After destroying the Heartless, it will take you back to safety.

Kingdom Hearts 358/2 Days
Carpet is a character residing in Agrabah during the events in the game.

Kingdom Hearts II
Carpet and Genie went off to travel the world a year ago, leaving Aladdin depressed because of the town's lack of excitement. Carpet and Genie return to Agrabah separately during Sora's first visit.

When Sora returns the second time, it serves as their ride through the Desert Ruins to hunt Jafar, and later to escape. After the defeat of Jafar, Carpet becomes part of Sora's mini-game in Agrabah's desert ruins. While helping him escape, Sora is left alone to fight the Heartless that hunt them.

At the ending credits, Carpet is last seen flying with Aladdin and Jasmine on its back, with Genie and Iago following close behind.