When there is adequate space to use a box wrench, you don't have to worry about it slipping off of the nut or bolt you're working on. This can make it a better choice than an open-ended or ...
The inside edges of the hole are serrated to better grip whatever you're loosening or tightening, and because of this, a box wrench allows you to exert more force than an open-ended wrench.