Making an Arduino Uno recognise whether the frequency/sound on A0 is correct

Is it possible to explain this in a different way so that I can wrap my head around it please?