This is a very simple model for a neuron. Let's say there are N number of inputs. The neuron will only fire when the sum of all the input is greater than a threshold.
In this model each input has been assigned weight. If w1x1+w2x2+ ...... wnxn > threshold then y=1 else y=0