The black wire is the "hot" wire, it carries the electricity from the breaker panel into the switch or light source. The white wire is the "neutral" wire, it takes any unused electricity and current and sends it back to the breaker panel.