Rear half of drivetrain showing chain tubes.
Chain tubes keep the chain from rubbing or striking other bike parts and also keep the chain a little bit cleaner (especially where they cover the chain near the rear tire). But they add complexity and can come loose and jam in the works.