To expand on the definition:
Actually, the general relativity (GR) requires a generalization of the straightforward conservation of energy principle that applies to most physical systems of interest. We expand on this issue below, but the short version is that the generalization is the general-relativity energy-momentum conservation equation holds (see also Car-120).
What maintains the structure? Forces.
Note all forms of energy can be changed into all other forms energy. That is why they are all energy. The changes are NOT always easy.
What causes energy transformations? Forces.
Three things:
Q: But there are negative energies, but NO negative masses.
A: There are NO negative masses, but there are negative contributions to mass and that is what negative energies are. If you add up all the contributions to energy in a system, the result is always positive---or so we believe.
Q: Can you elucidate why we ordinarily do NOT notice changes in mass when we change energy: e.g., when we change the heat energy content of a system?
A: Most of those changes in energy create changes in mass that are too small to measure ordinarily. For example, the fiducial minimum food energy needed per day per human is
7.5 MJ = 7.5*10**6 J = (1.7925 ... )*10**6 calories = (1.7925 ... )*10**3 food calories = { (8.344875 ... )*10**(-11) kg ]*c**2(see Wikipedia: Food energy: Recommended daily intake). You can see that this change in mass and all others like it are immensely small by everyday-life standards and even by ordinary laboratory standards. So it is NO surprise that the law of conservation of mass was thought to absolutely true, rather than just a usually valid approximation before the introduction of E=mc**2 with special relativity in 1905.
The rest mass of most objects includes heat energy and microscopic forms of binding energy.
Now some elementary particles possess apparently intrinsic rest mass. Examples include electrons and quarks. Note in modern understanding, the subatomic particles proton and neutron are NOT elementary particles. They are composite particles since they are made up of bound quarks. The subatomic particles and other composite particles (e.g., molecules) and all macroscopic objects have intrinsic rest mass from the elementary particles and other kinds of rest mass too (i.e., heat energy and binding energy).
Particles with rest mass are massive particles. Particles with NO rest mass are massless particles. The photon is the best known example of a massless particle. All massless particles are elementary particles (see Wikipedia: Massless particle).
The three fundamental forms seem to be the aforesaid intrinsic rest mass, kinetic energy (i.e., energy of motion) and force field energy (i.e., the energy of the fields that cause forces).
All other forms are, yours truly believes, sub-forms of some degree including forms that are sums of other forms. The forms can overlap: an amount of energy can belong to multiple forms. In fact, forms of energy are often defined just for particular contexts: e.g., sound wave energy for the sum of various other forms that add up to be the total energy of sound waves.
Below is a non-exhaustive list of main energy forms:
For example, the food web in the image can be analyzed in terms of energy transfers. One aspect of the analysis is that biota need so much energy to live and can only get so much from their environment (i.e., the Sun and other biota). You can put limits on their behavior from energy analysis without knowing what ATP actually does. Of course, for full information you need to know about the details of the energy transfers.
A simpler example is from mechanics. Say you have a bead on a frictionless wire near the Earth's surface. Just from its initial conditions (i.e., initial speed and height) and the conservation of mechanical energy (a sub-form of the conservation of energy), you can predict the speed of the bead for any later height. To get the full time evolution of the bead's motion requires much more information and analysis.
All other measurements are indirect: you measure several quantities that are characteristics of a body's state that are NOT energy and calculate energy from a formula that contains those quantities. For example, kinetic energy is the energy associated with the motion of body and is calculated in the classical limit from the formula KE = (1/2)mv**2, where m is the body mass and v is the body speed.
Another example is that there is an exact formula for the energy density of electromagnetic fields calculated from characteristics of the electromagnetic fields (see electric field energy and magnetic field energy). The formula is pretty simple actually:
Probably it is absolutely true in the limit of flat spacetime (AKA Minkowski space), but NOT absolutely in curved spacetime which is a spacetime predicted by general relativity (GR). This means the conservation of energy is probably as valid as we need in most local regions of the observable universe, but probably NOT absolutely in intense gravitational fields like very near black holes and NOT in application to the observable universe as a whole.
This failure of conservation of energy to be absolutely absolutely valid is disconcerting, but all is not lost. The energy-momentum conservation equation of general relativity is the generalization of conservation of energy law and it is absolutely valid in general relativity. However, the energy-momentum conservation equation is a lot harder to understand and work with than the conservation of energy law. See Carroll, 2004, p. 120.
The upshot is that conservation of energy is a valid emergent principle and we usually do NOT want to say more than it is absolutely valid which saves us from getting into long discussions of arcana of general relativity.