ESP8266 07 hosting a local server (wiring)

Sweet, so I'm connected to my server of the ESP!!
Now I want to send data from a light sensor to this server.
But to what pins can I connect sensors that my ESP can read and then send to the server?
And how is this done? Do I use the ESP that hosts the AP as well to read data with sensors or is it best to use this esp just for the hosting?