Energy Conversion is what it's all about. These 2 things convert energy from one from to another. Windmills convert wind energy to mechanical energy. Fuel cells convert potential chemical energy stored in hydrogen(or methanol or methane) and oxygen into actual electrical energy. For a windmill to produce mechanical energy the wind needs to keep flowing, for a fuel cell to produce electricity, it needs the hydrogen and oxygen to keep flowing through it system.