Main memory (also primary memory) is fast memory that stores programs being executed. They consist of memory blocks written and read in words of a fixed size.