On-device computing (or edge computing) refers to bringing the computation of data and its storage closer to where the data is being generated, or to the device itself. For example, in the case of smartphones, instead of sending raw sensor data to the cloud, all of the processing and computation happens entirely on the device, improving response time, reducing bandwidth usage and significantly minimizing chances of data leakage.