The preposition 在
In Chinese, 在 (zài) combines with a place word or phrase to say where an action happens.
This phrase normally stands before the verb.
Basic structure
Subject + 在 + place + verb
Meaning:
someone does something in some place.
我在学校吃午饭。
I have lunch at school.
Structure
我 + 在学校 + 吃午饭
I + at school + have lunch
我I
在学校at school
吃午饭have lunch
Here 在学校 states where the action happens.
他爸爸在医院工作。
His father works at a hospital.
Structure
他爸爸 + 在医院 + 工作
his father + at the hospital + work
他爸爸his father
在医院at the hospital
工作work
Here 在医院 names where the working happens.
你在哪儿买菜?
Where do you buy groceries?
Structure
你 + 在哪儿 + 买菜?
you + where + buy groceries?
你you
在哪儿where
买菜buy groceries
Here 在哪儿 asks where the action happens.
The rule in short
在 + place + verb
Meaning:
it states where the action happens.
Examples:
在学校吃午饭
have lunch at school
在医院工作
work at a hospital
在哪儿买菜?
where do you buy groceries?