In English, "where" is used for both location and direction, for example... WHERE is it? (location) and WHERE are you going? (direction). Same word, different usage.
Czech thoughtfully (or confusingly, depending on your point of view) provides different words for these different usages. In Czech, "Where is it" would use "kde," while "Where are you going" would use "kam."
Hope this helps (someone)!
Disclaimer: I am learning too, so not an expert. in Czech. But I am a native (US) English speaker.