A rubber band tied between two ends is stretched and then left. A sound is heard due to:
the to and fro motion i.e., vibration of the band
The sound is produced when a body vibrates, so here the rubber band vibrates and due to this to and fro motion of the band we hear the sound.