There are three main steps involved in the working of an LSTM network:
The network picks up the information that it has to remember and identifies what to forget.
Cell state values are updated based on Step 1.
The network calculates and analyzes which part of the current state should make it to the output.