They are related because work is an activity involving a force on an object and the distance traversed by the object due to the force.
Power is the work done in unit time.
Energy is able to do work and work changes the energy of objects. The power keeps the work going.
For example if a object has energy of x joule it can perform x joule work.
Hope this helped :)
Have a great day