Yes, the stated goal is the sabatier reaction from solar energy.
The apparent purpose of this is pretty much a tech-demo for mars. In terms of minimizing environmental impact on earth it would pretty clearly be better just to send the solar energy to the grid and divert natural gas that would have gone to generating electricity to launching rockets.