Electrical boxes, also known as junction boxes, enclose wire connections. They help protect against short circuits, which can cause fires. This guide describes the different types of electrical boxes, their materials and their applications. They come in many shapes and sizes to fit wherever you need them.