Gateways are used to connect different types of networks. Devices like hubs , switches , routers, etc. do not facilitate protocol translation , but they do facilitate gateways. It works on protocol translation when connected to different networks. Gateways can be divided into several parts according to the type of work. One of them is Address Gateway , Protocol Gateway , Application Gateway etc.