Diesel submarines are usually powered by a combination of diesel and electric power. The diesel power helps to submerge the vessel, while the electric powered batteries kick into use when the submarine is fully under water. Submarines are able to submerge (unlike a boat or yacht), since they have two sets of tanks (ballast and trim) to either let air in, or water (water to help the submarine submerge; air to bring it back to the surface).