Hardware and software components are used to construct IoT devices.nnTo implement the interface with the real world and to conduct computationally difficult tasks, dedicated hardware components are used. Microcontrollers are loaded with software that interprets input and controls the system.