City walls, gates, and towers are all defensive elements of a "city", the majestic appearance of them shows the magnificence of the city. Ancient cities and towns usually have defense purposes. the city gate and city tower are connected by the city wall between, forming a solid barrier of the ancient city.