"On reaching the destination, he met his friend."?

"On reaching the destination, he met his friend."?

Explanation

The sentence contains an independent clause ("he met his friend") and a dependent clause ("On reaching the destination").

It is a complex sentence because it has both independent and dependent clauses connected by a subordinating conjunction.