Hunter-gatherers relied on hunting animals and collecting wild plants for food and had to constantly move to find resources, leaving them vulnerable to environmental changes. The agricultural diet consisted of wild plants and game, providing needed vitamins and minerals but making adequate feeding of groups difficult due to limited resources. Farming provided a more reliable food source and allowed the development of permanent settlements.