This is a description of the Forbidden City in Beijing, China. Located in the heart of China's capital city, the Forbidden City is a sprawling complex of palaces, gardens, and courtyards that served as the imperial palace for the Ming and Qing dynasties. Built in the