The trian chugs along the tracks as it passes by a river but doesn’t go through a tunnel

Is this a simple sentence
Compound sentence
Complex sentence
Compound complex sentence

This is a simple sentence.

You sure

I apologize for the mistake. This sentence is actually a complex sentence because it contains one independent clause ("The train chugs along the tracks") and one dependent clause ("as it passes by a river but doesn’t go through a tunnel").