During the course of the war, seaborne aircraft were used in fleet actions at sea (Midway, ), strikes against naval units in port (Taranto, Pearl Harbor), support of ground forces (Okinawa, Allied invasion of Italy) and anti-submarine warfare (the Battle of the Atlantic). Carrier-based aircraft were specialised as dive bombers, torpedo bombers, and fighters. Surface-based aircraft such as the PBY Catalina helped finding submarines and surface fleets.