During aerobic respiration, the product is CO2 & H2O. While during anaerobic respiration, the product can be either lactic acid or ethanol+CO2 on the basis of enzyme involved.
If the product is ethanol &CO2, the process is termed as Fermentation.
Initially glucose gets converted into pyruvic acid (by the process of glycolysis-common in both aerobic & anaerobic respiration). In fermentation, this pyruvic acid produces ethanol & carbon-dioxide in the presence of enzyme alcohol dehydrogenase. This fermentation process is also used for industrial production of alcohol.