Different things can be used to make the generator head spin. Some small ones are cranked by someone's arms or legs. Bigger ones are connected to an engine. The biggest ones use a steamturbine or hydroelectric water power. Some use wind power. Whatever makes it turn, the generator converts this energy into electrical energy.