A device acts as an intermediary between local devices as well as devices and the cloud.