Inorganic chemistry involves the scientific study of the structure, properties, composition, reactions, and preparation of all chemical compounds except for the compounds consisting primarily of carbon and hydrogen, which are the focus of organic chemistry.