Infosys interview question

Explain how IoT works.