To collect the data from sensors.