A wall box assists with cabling along wall surface or for embedding in the walls. May be used for both light switches and sockets.