What you have is a fairly good definition, but its not a perfect on, so I'm not surprised that you're confused. To help you learn, lets try go improve what you have.
First of all, we have to try to understand why the energy is less when a molecule has more neighbors then when it doesn't. That may be relatable with a formula, and the units in the formula will tell you the type of energy. Failing that, you can just Nam the types of energy that you know, and see if we can work from there.
Give it a try, check your class notes or textbook, and see what you can learn.