It was at one time used to produce gas for lighting and heating.
It has also been proposed as a means of manufacturing rocket fuel on Mars, using hydrogen brought from Earth or, if water can be found on Mars, using that as a source of hydrogen.
In any case, the reaction consumes more energy than can be obtained from the resulting hydrocarbons. Entropy wins again.