These made agriculture more profitable, but often at enormous environmental cost.