Question from the Artificial Intelligence - Fundamentals test

What is the main purpose of the LSTM (Long Short-Term Memory) model in machine learning?