The allies needed a harbor and for that they needed a breakwater. The accomplished by this latter task by floating large containers, sinking them by flooding them with water, and forming the breakwater they desparatly needed.