During the Paleolithic age, men hunted and women gathered food. People lived nomadic lifestyles, moving from place to place to find resources, and lived in caves. They invented the use of fire. In the Neolithic age, people began farming, domesticating animals, and living in permanent houses made of wood or brick. They developed agriculture and became sedentary in this period.