What is purpose of using a gateway in context of networking?
In network gateway is used to connect dissimilar networks. It establishes an intelligent connection between a local network and external networks with completely different structures.