ESP8266 is cost effective end point transceiver for your embedded application which facilitates you IOT application to connect with server side interface using HTTP protocol. To control any IOT / Embedded application you can connect ESP8266 Wifi Module with your micro controller which sends and receives instructions through Internet and on behalf of communication micro controller can decide output and act accordingly.
ESP8266 contains 8 pins as mentioned below.