In any process energy is never created or destroyed. (It is just transferred from one store to another.)