A gantry crane is used to lift and move heavy loads within a confined area. It's often seen in shipping yards, construction sites, and manufacturing facilities for tasks such as loading and unloading containers.