For programming ESP32 using Arduino IDE need to add the board support.
Files -> Preferences -> Settings (Tab) -> Additional Boards Manager URLs (textbox): “https://espressif.github.io/arduino-esp32/package_esp32_index.json”
ESP32 is much more powerful than the ESP8266 series processors. In fact it has a Dual Core processor.