In a Lewis structure, formal charges can be assigned to each atom by treating each bond as if one-half of the electrons are assigned to each atom. ... Resonance occurs in cases where two or more Lewis structures with identical arrangements of atoms but different distributions of electrons can be written.