At certain points in history, the human species was endangered, with a population of only a few thousand individuals