With sorghum, the ethanol distillery can put the bagasse (plant stalks) to use as a boiler fuel, generating heat for distillation and steam for electricity.
Finally, once the biofuel crops have been planted, grown and harvested -- often with the direct involvement of fossil fuels in the form of fertilizers, pesticides and petrol to power farm equipment -- they then have to go through a distillation and fermentation process to actually turn them into fuel.