Fact 1: sonar is used to find the location of an object. 
Fact 2: Periscopes are still useful, despite the sonar and electronic sensors of modern submarines.
Periscopes are used to find the location of objects.