The pi bond is formed through the sideways overlap of unhybridized p-orbitals including Py and Pz orbitals.
The unhybridized orbitals 2Py and 2Pz in each carbon atom of the benzene structure account for the pi bond creation between the carbon atoms forming a benzene ring.