Pre-infusion is like a bloom in brewed coffee for espresso. By allowing more low-pressure contact time with the coffee, you reduce channelling and improve extraction.
Typically, I use a 9 or 10 second pre-infuse but I'm starting to experiment with longer and shorter ones.