The input gate by allowing incoming signal to alter the state of the memory cell, regulates proportion of history information memory cell will keep.
the output gate regulates what proportion of stored information in the memory cell will influence other neurons.