Edge computing involves bringing computational power and data storage closer to the source of data generation, rather than relying solely on centralized cloud servers. It works by deploying small-scale data processing capabilities at the edge of the network, such as in local devices or gateways. These edge devices collect and analyze data in real-time, making immediate decisions and only transmitting relevant information to the cloud for further analysis.