Sparta and Athens were both city-states in ancient Greece. City-states were independent political entities that consisted of a city and the surrounding territory. They had their own governments, laws, and cultures. Sparta was known for its military-focused society and strict social structure, while Athens was known for its democracy and cultural achievements. Carthage and Rome, on the other hand, were not city-states but rather powerful empires in their respective time periods.