Energy can neither be created nor destroyed. This means that you can’t make energy out of nothing— the total amount of energy in the universe is a constant. This applies to a closed system – the Earth is not a closed system, the Earth receives energy all the time from the Sun.
Hope I helped ;)