3D NAND flash memory operates by utilizing memory cells that store data in the form of electrical charges. These cells are arranged in a three-dimensional matrix, allowing for more cells to be packed into a smaller footprint. The process involves stacking layers of memory cells on top of each other, which increases the density of the memory without expanding the physical dimensions of the chip. This vertical stacking is made possible through precise nanofabrication techniques.