what is the difference between junction box and utility box?
They provide much more room for wiring than shallow round pan boxes and can be used as junction boxes. Metal boxes are suitable for surface-mounted installations using metal conduit. Round plastic boxes often have "ears" for fastening to the wall or ceiling surface in existing or "old work" applications.