For example, in chlorobenzene the lone pair of chlorine atom delocalized with pi bond (pi electron) of the benzene ring; this effect is called ortho or para directive effect. Resonance structures depends on the molecule. One way to know whether the structure is a resonance structure is to find out the bond length.