Submarines are now powered by nuclear reactors which allow them to stay underwater for months at a time because the reactor soes more the give power to the engin, it powers the lights, filters out the water, takes the air out of the ocean and puts is into the storage tanks.