Use ESP8266 and UNO in combination in a project?
Use UNO to program an ESP8266 module?
If it is the second then I think most would say this is a bad idea. Much better to either use an ESP module with built in USB port or use a USB -> serial module, and then to develop and flash from PC, Mac, or Raspberry Pi.
My preference is to use the ESP8266 and not use a second processor board. There are situations where an Arduino board makes sense but for my needs it is rare. I program with the Arduino environment for the ESP8266.