She was sitting under a tree.

Literal

She [topic-は] tree [possessive-の] below [at-に] was-sitting.

木の下に座っていた — 木の下 ('under the tree') uses the location noun 下 (した). に marks the static location. ていた is the past progressive.