The gateway is the network appliance which passes protocols of one type of physical environment to protocols of another physical environment (network). For example, during Internet connection of a computer a gateway is used.