Difference between Wifi shield R3 and Wifi module esp8266

Now is clear I guess. I didn´t know why the shield is too expensive compared to the esp8266.

Thanks!