Triggering GPIO of a ESP8266 webserver from another ESP8266

6f3865e452bfb239d4f5771fb2ed3d2612d7b347.jpg
I don't understand what esp-2 is for. Surely, esp-1 could do the things esp-2 is doing, freeing up esp-2 for another project, and 3 of esp-1's pins?