Later physicists realized that every kind of matter is both a wave and a particle!
The wave says how likely you are to find the particle at a given place at a given time.
And the energy of anything is just the rate at which its wave wiggles, times Planck's constant:
E = hν
MATTER IS WAVES, AND ENERGY IS THE RATE AT WHICH THESE WAVES VIBRATE!!!