You can use either a 2.5" SATA SSD or a PCIe NVMe M.2 SSD. This page at Crucial has examples.
Want to know which SSD will be compatible for the device, Dell Inspiron 3583 (8GB RAM, 1TB HDD, Intel 8th Gen Core i5, 2GB AMD Graphics).
SDD compatibility check