Wine makers worldwide don't sell all the wine they make. Some of it is defective. The taste is off, or it has prematurely produced vinegar, or it fermented unevenly and is all sugar in one part and way too strong in the other. Also, even good wine produces a whole bunch of wastewater, which is currently dumped and wasted.
Discovery news reports that a multinational coalition of biologists can recycle bad wine and wastewater into electricity. How? Bacteria. They get energy from sugar, and vinegar, and we already know how to steal that energy to make electricity. A bacteria tank could provide enough power to power the winery's machines and lights. (Not much more than that, though.)
Before this, bad wine and wastewater would be thrown away, usually by pouring it into the field.