The difference between primary memory and secondary memory is that the primary memory needs a continuous power supply otherwise the data will be erased and the secondary memory does not need a power supply, if the supply goes also, the data will be present in the memory.