IoT edge gateways act as intermediaries between connected devices and cloud systems, aggregating and preprocessing data before transmission. They enhance system performance by reducing bandwidth usage and enabling local decision-making. These gateways also provide an additional layer of security and protocol translation.