Power is more general or multiple meanings, like being powerful or alternate word for energy, unless you talking about the science equation which means
https://en.wikipedia.org/wiki/Power_(physics)#:~:text=In%20physics%2C%20power%20is%20the,Power%20is%20a%20scalar%20quantity.
Power is more like adjective, and that's why it's commonly confusing and like you ask what's the difference, because you have to be specific which version you think what power you're talking about.
While energy is just force in physics equal to matter, almost and maybe is power, it has multiple uses and functions for anything and everything.