Yes, reducing power and ATP are necessary to produce sugar in this way.
This picture could represent: