Which memory system is responsible for holding information temporarily while performing complex cognitive tasks such as reasoning or comprehension?