ESP8166MOD

Hi,

Is that a module which connects to an arduino board or a standalone board or both?

If its both, then by flashing my code to it it will work just as standalone. How can i then make it work as a module of arduino? Will i need to load the "original" firmware?

Thanks