Hz = hertz - the way frequencies are measured. The higher the hz, the higher the frequency, and the higher the pitch. Simple.
Khz = kilohertz - So for example, instead of saying 5000hz you would simple put 5khz. Just like a kilogram is a thousand grams.