ここ・そこ・あそこ・どこ
Here / there / over there / wheremachine translation
FormationUsed on their own as place nouns
A set of place words based on distance: ここ is where the speaker is standing, そこ is near the listener, あそこ is far from both, and どこ asks "where." They are nouns, so they work with particles: ここに, あそこで, どこへ….
To speak more politely, use the set こちら・そちら・あちら・どちら — which indicate both place and direction. When asking for directions or speaking to customers, どちら sounds more polite than どこ.
Examples
ここは教室です。
This is the classroom.
トイレはどこですか。
Where is the restroom?
あそこに銀行があります。
There is a bank over there.