Edge computing happens on the device itself. Cloud computing happens in some centralized location. Edge computing optimizes the cloud.