It's like a state or a province, but it's mostly made up of an enormous city. For example, Athens was a city-state and Sparta was a city-state. Before democracy, each was ruled by a separate king.
To become a city-state it would have to have a decent population filled with people who spoke the same langage, had similar cultures and similar religions.