Bloom Energy interview question

difference between ac generator and dc generator