Compounds that have the same molecular formula and sequence of bonded atoms, yet which differ in the three-dimensional orientations of their atoms in space. Stereoisomers may also differ in their potency.