A capital city functions as the central hub for a nation's political, economic, and cultural activities. It plays a key role in both national governance and international relations.