Memories are collected in Stray as you move through the world. They are represented by glowing blue energy that B-12 can gather to recover some of its lost memories. There are 27 in total, five of which are automatically obtained as you proceed through the story.
Chapter Select is available, so no Memories are missable, although you will have to replay the entire chapter to obtain any you missed.
This memory is automatically obtained as part of the story. Right after you meet up with B-12 in The Flat, you'll go outside and hop in the bucket to cross the long rope. On the other side, you'll find a mural of a sandy beach and B-12 will pick up the postcard, completing the first memory.
This memory is automatically obtained as part of the story. After connecting the repaired transceiver, B-12 will remember the original purpose of the city, unlocking this memory.
This memory is automatically obtained as part of the story. After you escape the Zurks chasing you away from the eye and reach Antvillage, you'll find the Memory across the bridge.
This memory is automatically obtained as part of the story. After you climb Antvillage and take the pipe to the subway, B-12 will tell you about transportation, unlocking Memory 04.
This memory is automatically obtained as part of the story. In the Control Room chapter, you'll proceed from the Subway to the upper area outside the Sealed City gate. After helping B-12 bypass security, you'll enter the Control Room, where you'll obtain the Memory.
After meeting Guardian, the citizens in the Safe Zone will emerge from their hiding spots. Down the stairs from Guardian, there is a vending machine.
Climb the crates next to it and continue up to the roof, then hop across the gap to the building
Read more on gamespot.com