The rear lights serve to increase the visibility and safety of the trailer on the road. They enable other drivers to recognize and react to the trailer in good time.