how hdd and ssd work?
SSDs serve the same purpose as HDDs: they store data and files for long-term use. The difference is that SSDs use a type of memory called “flash memory,” which is similar to RAM—but unlike RAM, which clears its data whenever the computer powers down, the data on an SSD persists even when it loses power.