How civilization made and developed?

People needed to group together to survive, so eventually groups got large enough to start taking over other groups, and eventually started forming small "countries". Civilizations first started showing up after Farming was developed in Ancient Mesopotamia, which allowed cities to form.