Synapses and Neurons: Basic Properties and Their Use in Recognizing Environmental Signals