where 就 词性 看 是个副词 不属于句子主干“主谓宾”
which 是个 代词 在定语从句中要么做 “主语”要么做“宾语” 属于 句子主干“主谓宾”
比如:I used to live in the neighborhood where you live.
you live 主干“主谓”结构完整(live不及物动词不接宾语),可加地点副词where
I used to live in the neighborhood which you live in.
you live in 中的in作为介词 缺少介词宾语 要用 代词which
以上区别 关键看 从句中 是否缺少 主语或宾语 不缺 就不用which 是定语从句中 比较简单的了