A sustain pedal, also known as a damper pedal, is an important accessory for piano and keyboard instruments. Its main function is to keep the notes sounding even after the player releases the keys. This pedal allows the notes to resonate and persist freely, giving the music a fuller and richer sound.