Confused how to communicate esp8266 12e with arduino nano

nano to send data to the esp8266 12e

Is the ESP8266 using the AT command firmware or are you programming the ESP8266 with the Arduino IDE?