"In his book What A Plant Knows: A Field Guide to the Senses, Daniel Chamovitz describes in fascinating detail how the stimulation of a plant (by touch, light, heat, etc.) can cause reactions similar to those in animals under analogous conditions. Plants can sense their environment through touch and can detect many aspects of their surroundings, including temperature, by other modes. It's actually quite common for plants to react to touch: a vine will increase its rate and change its direction of growth when it senses an object nearby to wrap itself around, and the infamous Venus flytrap can distinguish between a heavy rain or a strong gust of wind, which do not cause its blades to close, and the tentative incursions of a nutritious beetle frog, which will make them snap shut in one-tenth of a second.
In an interview with Scientific American, Chamovitz describes how different types of memory play a role in plant behavior:
'If memory entails forming the memory (encoding information), retaining the memory (storing information), and recalling the memory (retrieving information) then plants definitely remember.'"
~Annaka Harris, in her book Conscious: A Brief Guide to the Fundamental Mystery of the Mind
* image found on Pinterest, artist is unknown