O Level Papers!
The tone() function is used to generate a square wave of a specified frequency on a pin, which can be used to create sounds on a buzzer or speaker.