All organic compounds contain carbon atoms, but not all compounds containing carbon atoms are organic. Many inorganic compounds do not contain carbon, but there are some special inorganic compound that have carbon atoms.
Examples of Organic Compounds:
1.) Acetone
2.) Caffeine
3.) Glucose
Examples of Inorganic compounds:
1.) NaCl
2.) Carbon Dioxide
3.) Water