The correct option is
B Delocalization of pi electrons
In chemistry, resonance is a way of describing delocalized electrons within certain molecules or polyatomic ions where the bonding cannot be expressed by one single Lewis formula. A molecule or ion with such delocalized electrons is represented by several contributing structures (also called resonance structures or canonical forms).
Resonance is due to the delocalization of pi electrons which lowers the potential energy of the substance and thus makes it more stable than any of the contributing structures.