A goldfish's memory span is actually months, not the few seconds that urban legends claim.
Why it is true
Goldfish can be trained to recognize shapes, colors, and sounds, and they can remember those training cues for periods of up to five months or longer.
Source: Animal Behavior
Would you rather be asked first?
This is the reading side of the site, so the answer is in the sentence above — that is the whole point of it. Test yourself works the other way round: the question comes on its own, and the fact and the explanation only appear once you have answered.
Related facts
Bees can recognize and memorize human faces.
Crows can remember human faces and hold grudges.
Crows can recognise specific human faces and pass that knowledge on to other crows.
Crows possess the cognitive ability to recognize individual human faces and can hold grudges or remember acts of kindness for years.