I have been taught in Memory hierarchy we have RAM to get rid of bottleneck of HDD as they are very slow being a mechanical devices. Since CPU are very fast and to maximize their use we have RAM (Then cache).
Now instead of HDD we use SSD which are electronic devices that work much like RAM as explained in this article.
My question is if SSD are like RAM then why isn't RAM replaced with SSD ? I can see the benefits of no overhead of memory techniques used to communicate between RAM and SSD. Also CPU can directly communicate with SSD without overhead of first accessing RAM