Sound can be reflected when the medium runs out or there is an obstacle in its path. A example of sonar is a sonar is Fitted into a ship to detect how deep the water is. An example of ecolocation is how some animals talk to each other like bats and butterflies or dolphins.