An inorganic compound is a substance that does not contain both carbon andhydrogen. A great many inorganic compounds do contain hydrogenatoms, such as water (H2O) and the hydrochloric acid (HCl) produced by your stomach. In contrast, only a handful of inorganic compounds contain carbon atoms.