Carpet

Carpet is a character from Kingdom Hearts and Kingdom Hearts II. It serves mainly as transportation in Agrabah.

Kingdom Hearts
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 a blink of an eye.''

Kingdom Hearts
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 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, and Genie and Iago.