O Level Papers!
Gateways in IoT smart grids primarily collect data from various sensors/devices for further processing and transmission.