Sensing Your Surroundings: How Transcription-Regulatory Networks of the Cell Discern Environmental Signals