Electrical boxes come in many shapes and sizes. These boxes are used for outlets, switches, ceiling fixtures, junction boxes, and for keeping wires splices dry. Depending on the size and shape of the box, electrical boxes hold different amounts of wires.