What was the role of science in World War 2?

Science played a large role, with advances in sonar(for detection of submarines), computers(to decrypt enemy codes), and of course the invention and deployment of the nuclear bomb(nuclear energy). Another great application of science was Radar (Radio Detection And Ranging) Great Britan used radar very successfully in repelling the German air campaign over Britans' airspace. (See "The battle of Britan")