The sentence 'When the bus passes by my house, it rattles my windows' is a complex sentence consisting of an independent clause and a dependent clause.
The sentence 'When the bus passes by my house, it rattles my windows' is a complex sentence.
It consists of an independent clause 'it rattles my windows' and a dependent clause 'When the bus passes by my house'.
The dependent clause cannot stand alone as a complete sentence because it is dependent on the independent clause for meaning.
In this sentence, "When the bus passes by my house" is the dependent clause, and "it rattles my windows" is the independent clause. The dependent clause "When the bus passes by my house" provides additional information about the timing or condition under which the action in the independent clause occurs.