Volatile memory is computer memory, such as RAM, that loses its contents when power is removed. It holds the data a computer is actively working with, including running programs, open network connections and sometimes encryption keys or passwords that have been loaded for use.
In incident response, volatile memory can contain evidence that exists nowhere else, such as malware that runs only in memory or details of active attacker sessions. Because it disappears on shutdown or reboot, responders try to capture it before taking actions that would erase it, which is one reason many response plans advise isolating a machine from the network rather than switching it off.
Capturing memory is not always possible or necessary. It needs suitable tools and skills, takes time and can itself change the system slightly. Whether it is worth doing depends on the sensitivity of the case and the availability of other evidence.
If you suspect a machine is compromised, disconnect it from the network, leave it powered on unless your response plan or responders say otherwise and contact your incident response team before rebooting or running cleanup tools, so that memory can be preserved if it is needed.