White wires are generally neutral, so pay attention to any tape wrapped around the insulation. Green wires connect the device ...
There are other colors for hot wires, but they’re much less common. WHITE = NEUTRAL. Neutral wires carry the current back to the panel, completing the circuit. BARE (OR GREEN) = GROUND.