Sonar is quite important everywhere in the world.
There are two major types of sonar:
ACTIVE:
Active sonar involves the production of a pulse generated by a searcher and projected into the water.
PASSIVE:
Passive sonar is an underwater system that detects noises that are generated by a target's (usually a submarine or surface ship) motor or hull vibrations.
This type of sonar is very important and provides the searcher with information as to an existence of a source or target and its bearings.
Advantages:
| Active | Passive |
| - better range | - does not reveal any sound itself |
| - does not record all the sea and ship noises | - useful in naval warfare |
*the advantages for one will be the opposite and disadvantages for the other.*

Both are still used on ships and submarines nowadays and are being constantly updated and changed to reduce background noise and enhance reception.
USES:
- detect ship wrecks
- locates shoals of fish
- to find the depth of water
- naval warfare
- detection of submerged submarines (usually enemy submarines)
- in submarines to locate surface vessels (either for communication or locate enemies)
- in submarines to navigate through mine fields