The main difference is in the presence of a carbon atom; organic compoundswill contain a carbon atom (and often a hydrogen atom, to form hydrocarbons), while almost allinorganic compounds do not contain either of those two atoms. While mostinorganic compounds do not contain carbon, there are a few that do.
An organic compound is any member of a large class of gaseous, liquid, or solid chemical compounds whose molecules contain carbon
Inorganic compounds can be defined as any compound that is not organic compound. Some simple compounds which contain carbon are usually considered inorganic. These include carbon monoxide, carbon dioxide, carbonates, cyanides, cyanates, carbides, and thiocyanates.