From July until September 1940 the Luftwaffe attacked RAF Fighter Command to gain air superiority as a prelude to invasion