The trumpet is played by blowing air into the mouthpiece. The air flows through the instrument, causing the valves to vibrate and the slide to move. This produces the different pitches that the trumpet can play.
The trumpet is a versatile instrument that can be used in a variety of genres of music, from classical to jazz to rock. It is a popular choice for soloists and for use in brass bands and orchestras.