According to this theory, the energy saved by walking upright gave our ancient ancestors an evolutionary advantage over other apes by reducing the costs of foraging for food. The idea is just one of many scientists have entertained as reasons for why humans walk on two legs.