Memory plays a crucial role in our cognitive function and overall brain performance. It enables us to retain and retrieve…