The Forbidden City in Beijing was the imperial palace complex where Chinese Emperors and Empresses lived for nearly 500 years (Ming and Qing dynasties). Beijing is the city containing it, not the palace itself. The Great Wall is a defensive fortification.