When system stores the data in a RAM, it is called in-memory caching. It is the simplest cache as compared to the other cache forms.  It sits between applications and databases to deliver responses at high speeds by storing data from earlier requests or copied directly from databases.