Think of a piano keyboard. The pitch isn’t just the name of the note. It’s where it’s located on the keyboard. Is it towards right or left? So, technically, it’s the note’s frequency. Birds chirping produce high-pitch sounds, with a higher frequency, so a lot more oscillations. On the other end, a tanker ship horn would produce a low-pitch sound, with a lower frequency and waaay fewer oscillations.