Energy is a feature that is strictly required to perform all sorts of gathering actions, done in fishing, mining, herbalist and woodcutting. Without the amount needed, you will not be able to gather any sort of crafting materials throughout BlackTalon.
You can gain energy through a handful of ways, one of which is by simply staying online. Every 30 minutes you will receive 20 energy, which you can see right below your mana and health bars, like this: . You can also obtain energy by completing quests and daily quests (while off cooldown), in which the amount will vary depending on the quest level, the higher the level, the more energy it will give. Any gathering action in any profession will consume 5 energy.