Chimpanzees demonstrate remarkable cognitive abilities by constructing nests that anticipate weather patterns, using branches and leaves strategically.