City-states are independent, self-governing urban centers that also encompass the surrounding territory. They were prominent in various ancient civilizations, including the Indus Valley civilization, where they functioned as political and economic hubs, demonstrating advanced urban planning and social organization.