certain molecules have resonance structures because when the molecules form, if the bonds do not fill the outer electron shell, that there is some variability where the bonds can form and lone pairs will be located, although the molecular geometry will be the same regardless of resonance