I want to know the answer to the following question:
What was one of the important roles submarine played in the war?
All the background I'm provided with is that "and, coincidentally,[clarification needed] at Midway in June 1942), when they gave accurate and timely warning of the approach of the Japanese fleet.". Is that enough to answer the question?