The ESP32 is the successor of the ESP8266, but not necessarily a replacement. The ESP32 has a slightly larger price tag, but it also boasts an array of new features. As well as all the features of the ESP8266, it includes faster Wi-Fi, a CPU core, more GPIOs, and supports Bluetooth.