A nuclear submarine is a ship powered by atomic energy that travels primarily under-water, but also on the surface of the ocean. Previously, conventional submarines used diesel engines that required air for moving on the surface of the water, and battery-powered electric motors for moving beneath it. The limited lifetime of electric batteries meant that even the most advanced conventional submarine could only remained submerged for a few days at slow speed, and only a few hours at top speed. On the other hand, nuclear submarines can remain under-water for several months. This ability, combined with advanced weapons technology, makes nuclear submarines one of the most useful warships ever built.