Whenever you hear someone talking about something or other being “turned into pure energy”, you’re listening to someone who could stand to be a little more specific about what kind of energy. And whenever you hear someone talking about something being “made of pure energy”, you’re probably listening to someone who’s mistaken. Light is about the closest anything comes to being pure energy, but it’s not pure energy so much as it’s one of the several kinds of energy that isn’t tied up in matter. If those photons then fall onto a solar panel, that light energy can be converted into electrical energy. If that electrical energy runs a motor, then the energy used is E = VIT (voltage times current times time).