The answer is semantic memory
Semantic memory is a form of memory that allow someone to process concept or ideas that is not based on personal experience.
This make us able to store information to our memory from external sources, such as reading, or being told by other people.