While they’re mollusks, there’re not brainless. In fact, most of their brain is spread throughout their 8 arms. They like puzzles, make friends, and remember people. Sadly, they have short lives and can’t pass on their knowledge to their offspring because they die soon after reproducing.
Other than humans, there is only one animal that we know about that talks about events that have already happened (the past): Orangutans. Orangutans make a certain sound to signal that there is a predator nearby. Scientists have observed orangutans seeing a predator, quietly climbing to safety while carrying her infant, and waiting until it was safe to give the warning.
This delayed warning makes it safer for the infant, and indicates a greater intelligence than only communicating about events that are currently happening.