This is a metronome, it's a device that produces drum sounds at a regular interval that can be set in Beats per minute (BPM). use it to practice musical instruments like guitar and improve your timing.
This online application has been built using web audio api, which gives it precision in timing