It is eight in the morning on a bus crawling through Farmgate. You are checking your bank app, and the screen answers before you have finished tapping. Look at what had to happen. Your phone, on a 5G cell a few hundred metres away, sent the request over a radio wave only a centimetre or so long.
Above the road, a sensor counted the queue and a controller shortened the red light, without asking any cloud in another country. Your request reached the bank through one front door that checked who you were, and was handed to one small program out of dozens, a program that had been updated three times that week without anyone switching the bank off. And at no step did anything trust you just because you were "inside". Each of those sentences is a topic of this chapter.
The topics look separate, but they share one thread: things talk to each other over networks that are fast, wireless and distrustful, and the software behind them is split into small parts that change often. Exams ask about every thread, from "What is the use of mmWave in IoT?" and "What is the CI/CD model?" to "What primary problem does an API gateway solve?"
By the end of the chapter you will be able to state what 5G was built for, with real numbers, and compute why a millimetre wave goes far less far than a long one. You will explain network slicing with a worked example, say exactly where 6G stands as of November 2026, and describe Bangladesh's 5G story with its dates.
You will explain how MQTT and CoAP carry an IoT reading in a few dozen bytes, read real packet bytes, and pick between BLE, Zigbee, LoRaWAN and NB-IoT. You will tell the story of the Mirai botnet and the baseline that would have stopped it, say why computing moves to the edge, and draw an IoT system for a smart city or a smart grid.