The storage function of a computer involves saving data on non-volatile media like hard drives or solid-state drives so it remains available even after the power is turned off. In contrast, "memory" typically refers to RAM, which is temporary and volatile.