This is a derrick barge being towed by a tug. The crane is used to lift and move heavy items. The large pole-like features on the derrick barge are called "spuds." They function like anchors, they go down into the water and keep the barge from moving around while they're working.