Sonar was developed during World War I as an aid in finding both submarines and icebergs. Major improvements were made on this technology during World War II, and eventually scientists adapted the highly sensitive equipment for use in oceanographic research. There are two types of sonar: active and passive