Why did hunter-gatherers first begin farming?

The beginnings of agriculture changed human history and has fascinated scientists for centuries. Researchers have now shed light on how hunter-gatherers first began farming and how crops were domesticated to depend on humans.