She opened the window to let in some air.

Literal

She [topic-は] wind [object-を] let-in [purpose-ために] window [object-を] opened.

風を入れる ('to let in air/breeze') is a common expression. ~ために marks the purpose — she opened the window in order to ventilate.