Work is one specific form of energy. It is specific in that it flows between a system and its surroundings. Heat is the other form of energy that flows between a system and its surroundings.
Work comes in two forms, mechanical or other. Mechanical work is the expression $\delta w = -p_{ext} dV$ that appears in thermodynamic equations such as the first law of thermodynamics. Mechanical work appears when a system changes its volume. A system that expands does work, and a system that contracts has work done on it. The term "other work" is energy flow in forms as electricity or light. You are dealing with other work as electricity.
Energy is a content rather than a flow. External energy is in the form of kinetic energy $E_K$ due to motion of the system in a reference frame or potential energy $E_p$ due to position of a system in a force field (e.g. gravity). Internal energy $U$ is the inherent energy of the system due to its very existence.
The conservation of energy states that total energy $E_T = E_K + E_p + U$ of the universe does not change for any process. Energy may flow between a system and the surroundings as heat, mechanical work, or other work. Potential energy may convert to kinetic energy. In the end, the total energy content of the universe remains constant.