There is a window in the room that lets in just enough sunlight to keep the plants happy.
(the room; let; s in just enough sunlight) (s; to keep; the plants)
the room s
let to keep
s in just enough sunlight
the plants