 Depth charges were the earliest weapons designed for use by ships against submerged submarines.These explosives were initially dropped as the ship moved over the presumed location of a submarine.Before World War II, shipboard sonar was unable to maintain contact with a submarine at close range.