All living things get their energy from food.
The earliest people got their food just like other animals, by gathering fruits and nuts and by catching other animals if they could.
We call these people 'hunter-gatherers'. Some people have kept to this way of life until modern times. They need NO other kinds of energy.