What is the difference between organic and inorganic compounds?

Carbon. Organic compounds are all carbon compounds, except CO2.

http://dictionary.reference.com/browse/organic%20compounds