Here is part of it
Fuel Cell Components & Function
A fuel cell is a device that uses hydrogen (or hydrogen-rich fuel) and oxygen to create electricity by an electrochemical process. A single fuel cell consists of an electrolyte sandwiched between two thin electrodes (a porous anode and cathode). While there are different fuel cell types, all work on the same principle:
Hydrogen, or a hydrogen-rich fuel, is fed to the anode where a catalyst separates hydrogen's negatively charged electrons from positively charged ions (protons).
At the cathode, oxygen combines with electrons and, in some cases, with species such as protons or water, resulting in water or hydroxide ions, respectively.
For polymer electrolyte membrane (PEM) and phosphoric acid fuel cells, protons move through the electrolyte to the cathode to combine with oxygen and electrons, producing water and heat.
For alkaline, molten carbonate, and solid oxide fuel cells, negative ions travel through the electrolyte to the anode where they combine with hydrogen to generate water and electrons.
The electrons from the anode side of the cell cannot pass through the membrane to the positively charged cathode; they must travel around it via an electrical circuit to reach the other side of the cell. This movement of electrons is an electrical current.
.......
Fuel Cell Systems
The design of fuel cell systems is quite complex and can vary significantly depending upon fuel cell type and application. However, most fuel cell systems consist of four basic components:
A fuel processor
An energy conversion device (the fuel cell or fuel cell stack)
A current converter
Heat recovery system (typically used in high-temperature fuel cell systems used for stationary applications)
Though they are not discussed here, most fuel cell systems include other components and subsystems to control fuel cell humidity, temperature, gas pressure, and wastewater.
Fuel processor
The first component of a fuel cell system is the fuel processor. The fuel processor converts fuel into a form useable by the fuel cell. If hydrogen is fed to the system, a processor may not be required or it may only be needed to filter impurities out of the hydrogen gas.
If the system is powered by a hydrogen-rich conventional fuel such as methanol, gasoline, diesel, or gasified coal, a reformer is typically used to convert hydrocarbons into a gas mixture of hydrogen and carbon compounds called "reformate." In many cases, the reformate is then sent to another reactor to remove impurities, such as carbon oxides or sulfur, before it is sent to the fuel cell stack. This prevents impurities in the gas from binding with the fuel cell catalysts. This binding process is also called "poisoning" since it reduces the efficiency and life expectancy of the fuel cell.
Some fuel cells, such as molten carbonate and solid oxide fuel cells, operate at temperatures high enough that the fuel can be reformed in the fuel cell itself. This is called internal reforming. Fuel cells that use internal reforming still need traps to remove impurities from the unreformed fuel before it reaches the fuel cell.
Both internal and external reforming release carbon dioxide, but less than the amount emitted by internal combustion engines, such as those used in gasoline-powered vehicles.
Energy Conversion Device - The Fuel Cell Stack
The fuel cell stack is the energy conversion device. It generates electricity in the form of direct current (DC) from chemical reactions that take place in the fuel cell. The fuel cell and fuel cell stack are covered under Fuel Cell Components and Function.
Current Inverters &Conditioners
The purpose of current inverters and conditioners is to adapt the electrical current from the fuel cell to suit the electrical needs of the application, whether it is a simple electrical motor or a complex utility power grid.
Fuel cells produce electricity in the form of direct current (DC). In a direct current circuit, electricity flows in only one direction. The electricity in your home and work place is in the form of alternating current (AC), which flows in both directions on alternating cycles. If the fuel cell is used to power equipment using AC, the direct current will have to be converted to alternating current.
Both AC and DC power must be conditioned. Power conditioning includes controlling current flow (amperes), voltage, frequency, and other characteristics of the electrical current to meet the needs of the application. Conversion and conditioning reduce system efficiency only slightly, around 2 to 6 percent.
Heat Recovery System
Fuel cell systems are not primarily used to generate heat. However, since significant amounts of heat are generated by some fuel cell systems—especially those that operate at high temperatures such as solid oxide and molten carbonate systems—this excess energy can be used to produce steam or hot water or converted to electricity via a gas turbine or other technology. This increases the overall energy efficiency of the systems.
and more
http://www.eere.energy.gov/hydrogenandfuelcells/fuelcells/how.html