This wiring diagram illustrates the connection between a 4-pin trailer connector and a truck's electrical system. The 4-pin trailer connector is commonly used for basic trailer lighting functions, including brake lights, turn signals, and tail lights. In this setup, the wiring arrangement of the 4-pin connector is such that the ground wire is connected to the truck's chassis ground, the brown wire is connected to the tail lights, the yellow wire is connected to the left turn signal and brake light, and the green wire is connected to the right turn signal and brake light.