The study of the composition, structure, and properties of substances, as well as the changes they undergo during chemical reactions.