A few automobiles generate electricity from hydrogen fuel cells (like the Honda Clarity). As of 2019, most of the hydrogen that people use comes from burning fossil fuels, but scientists and engineers are trying to make hydrogen from renewable energy a lot cheaper and easier to use.Some automobiles even use solar cells for their electricity, but they are not very practical. There is a competition every year where people try to design a automobile that can last the longest and go the farthest on solar energy alone. 