The button is connected to GPIO0 which is also used for initial boot configuration. When GPIO0 is in low/GND position then the serial bootloader mode would trigger (for serial upload); when GPIO0 is high/VCC then normal execution mode would start. Once the board boots in the desired mode, the button can be used as general-purpose button.