The ESP32 chip comes with 48 pins with multiple functions. Not all pins are exposed in all ESP32 development boards, and some pins cannot be used. ESP32 comes with a multiplexing feature that means one can decide the pins by defining them in a software/program.