Sand Electricity Generator

By having oxygen forming and pumping on side of a the sand particles and natural gases on the other sand can generate electricity, as long as you have the technology to do so a generator is.