IoT devices contain sensors and mini-computer processors that act on the data collected by the sensors via machine learning. ... Machine learning is when computers learn in a similar way to humans \u2014 by collecting data from their surroundings \u2014 and it is what makes IoT devices smart.