Edge computing works by placing computing resources near devices such as sensors, smartphones, industrial machines, and autonomous vehicles. Instead of transmitting all information to distant cloud servers, data is processed locally, and only important information is sent to the cloud.