What does the slide on a Trombone do?

The slide on a trombone is used to change the instrument's pitch. By extending or contracting the slide, the player can alter the length of the tubing, thus changing the pitch produced when playing. Sliding the slide out elongates the tubing, lowering the pitch, while pushing the slide in shortens the tubing, raising the pitch. This allows the trombone to play a continuous range of notes.