Originally touted as scouts for surface fleets, submarines were used in far more effective ways as the war wore on.