Hold a ruler flat on a desk with part of it sticking out over the edge, and twang the free end. With a long piece hanging over, it wobbles slowly and makes a low buzz. Slide it in so only a short piece sticks out, and it wobbles much faster with a higher sound. Each wobble sends a push into the air. More pushes per second, a higher frequency, reach your ear as a higher pitch.
People hear from about 20 Hz up to about 20,000 Hz. A man's speaking voice is often around 100 to 150 Hz, a woman's around 200 Hz, and a whistle can reach 2000 Hz or more. Music uses a neat rule: going up one octave doubles the frequency. The A that orchestras tune to is 440 Hz, the A an octave below is 220 Hz, and the A an octave above is 880 Hz.
Loudness is a different property. Pluck a guitar string gently, then hard. The hard pluck makes the string swing wider, with a bigger amplitude, so the sound is louder, but the string still vibrates the same number of times per second, so the pitch does not change. To decide how high a sound is, look at its frequency; to decide how strong it is, look at its amplitude.
Think of it like this. Pitch is like the tempo of a drummer tapping. Fast taps blur into a high note and slow taps into a low one, while hitting harder makes each tap louder without speeding up the beat. Real tones are smooth vibrations rather than separate taps, and below about 20 per second you hear separate pulses instead of a note.
Core idea. Pitch is how high or low a sound is heard, and it follows frequency: more vibrations per second sound higher, and doubling the frequency raises the note by an octave, however loud or soft it is played.