I know what the typical answer is. "Energy is the ability to do work." But a person who doesn't "understand" what energy is, this doesn't make any sense, especially when they watch videos on electrons in which the person in the video say that the electrons can basically teleport between energy levels by absorbing or releasing energy and that this can happen when they are hit with light particles that change frequencies (and thus color) depending on the change in energy. Then to be later told that photons are pockets of energy and that matter itself is a type of energy doesn't help either because that creates a paradox between matter and doing work. If matter is energy then matter is the ability to do work (which doesn't make any sense) and in my physics class I was taught that work is kgm^2/s^2 (which makes less sense if matter is energy). (sorry if the order was a bit strange, i'm trying to get my thoughts out)
The point of my question is that I've been told that energy is the ability to do work and that matter and photons are energy, so what is energy? Is it physical or mathematical? Is it just an essence that is stored in matter? Are there different types of energy (excluding dark energy)? Also, am I missing something? I'm really confused and it's annoying not understanding this, so please help me.