Fuel-cell cars produce energy while driving. Fuel cells generate energy through an electrochemical reaction that uses hydrogen whose only end product is water. This type of EV can drive up to 300 miles per battery charge.