The city serves as the capital of China and is the location of the Emperor's Palace, also known as the Forbidden City. According to the film, one of the quickest ways to the Imperial City is to travel through a small mountain range named the Tung Shao Pass.
In the film, and unlike its real counterpart, the palace consists of a huge two-story temple on a huge platform, flanked by four towers with blue roofs, decorated with various paper lamps. The interior of the palace is luxurious, with the center being the imperial throne room, as well as several floors with decorations.
It's also where Mulan fights her final battle with Shan Yu.
In the film, the Chinese people hold a celebration in the Imperial City to celebrate the defeat of the Huns. However, a small group of Huns had survived and secretly entered the city by hiding in a Chinese dragon puppet. Though the Emperor is captured by the Huns, Mulan and her friends managed to infiltrate the palace; while Ling, Yao, and Chien-Po defeated the Huns and rescued the Emperor, Mulan distracted Shan Yu by revealing her identity as the soldier who destroyed his army.
Enraged, he pursues her throughout the palace, causing significant damage to the ancient building in the process, before cornering her on the roof. She disarms him and Mushu launches a firework into him which sends him into the eastern watchtower; packed with fireworks and explosives, the tower and Shan Yu are destroyed in a fiery display of death, which also nearly kills Chi-Fu but unfortunately doesn't finish the job. Though the Emperor is a little miffed at the damage to his palace, he bows to Mulan in gratitude for her efforts and proceeds to honor her family with his personal crest and the Sword of Shan Yu. It is apparently rebuilt by the second film and continues to serve as the Emperor's residence.
The emperor hall with dragon motifs.
Shan Yu hidded in the roof of the palace.
Beijing is the third country in Aladdin. Note how the palace look more like the real counterpart (the hall of the supreme harmony).
The fact that China is the third contry visited for Aladdin, It may refer to the fact that in some versions of the Arabic tale, the story mentions China as the place of history, with Morocco being a site mentioned near the end of the book.