Compare and contrast fermentation and respiration

Compare and contrast fermentation and respiration (both aerobic and anaerobic) in terms of carbon source, electron donor, terminal electron acceptor, type(s) of ATP production, relative ATP yield, and final form of carbon.