This diagram shows part of the electricity circuit in a home. The lights are wired separately from the wall sockets. Follow the wires around to make sure you agree with this.