Isomerism is a property of molecules that have the same chemical formula but different structural and/or spatial arrangements. Isomerism can be divided into two categories: structural isomerism and stereoisomerism. Structural isomerism occurs when atoms are connected in different ways, while stereoisomerism occurs when molecules have the same atoms connected in the same way, but have different spatial arrangements.