Why are reflecting prisms used in periscopes?

In periscopes, reflecting prisms are used in which the incoming light is reflected perpendicularly and this reflected light is again reflected by another prism to get the image.
42
1