Short-term memory acts for temporary recall of the information which is being processed at any point in time, and has been refered to as "the brain's Post-it note". It can be thought of as the ability to remember and process information at the same time. It holds a small amount of information in mind in an active, readily-available state for a short period of time.
For example,the beginning of the sentence needs to be held in mind while the rest is read, a task which is carried out by the short-term memory. Other common examples of short-term memory in action are the holding on to a piece of information temporarily in order to complete a task (e.g. “carrying over” a number in a subtraction sum, or remembering a persuasive argument until another person finishes talking)