The preamp is responsible for taking the relatively puny signal from an electric guitar, adding muscle to it, determining how clean, crunchy, or highly overdriven it is before it hits the power amp stage, and also shaping its basic tonality using the Treble, Middle, and Bass controls.
https://www.sweetwater.com/insync/guitarists-guide-electric-guitar-amps-part-2/