Energy is used to clear obstacles on the map.

You can get energy by completing puzzle levels successfully.

 

Note: If you complete all the current puzzle levels, you will be able to join the end-game competition. You can earn amazing rewards by playing in the competition. It's not possible to gain energy by beating puzzle levels in the competition.