Underwater welding is needed to repair cracks in ships, bridges, and submarines or construct underwater pipelines. It can be done through wet welding, where the welder works directly in water, or dry welding within a pressurized chamber. Wet welding uses specialized electrodes and equipment but has more freedom of movement, while dry welding has better quality control but is more complex and expensive. Hazards of underwater welding include electric shock, gas explosions, and pressure injuries. Automation is increasingly used to reduce risks to divers.