On a semi truck tractor/trailer are Clearance, Running, tail, and Marker lights basically the same thing?

Are they all just lights that indicate the truck is on, but are all just in different areas and can be either Amber or Red?
3 answers 3