When I came out of my room, a bird was chirping. Name the type of sentence

When I came out of my room, a bird was chirping. Name the type of sentence

Explanation

A complex sentence combines a dependent clause with an independent clause.