Random access memory (RAM) is a form of volatile computer memory that allows for quick reading and writing of data. RAM was invented in 1947 using Williams tubes, then improved with magnetic core memory in the 1940s-1970s. Dynamic RAM (DRAM) stores each bit in a separate capacitor and needs periodic refreshing, while static RAM (SRAM) retains data without refreshing and is used for computer caches. Both DRAM and SRAM are now integrated circuits with DRAM primarily in personal computers and SRAM in computer caches.