RAM memory is a type of temporary memory where both the data of the applications that are running and the data of the operating system with which you are working are stored.
It is said that it is a temporary memory since the operating system of the device can erase it depending on the needs it has at all times, in this memory the data and instructions that the system needs to access are stored very quickly unlike the internal memory which is where they are permanently stored (until the system or the user decides to erase).
Therefore, the amount of RAM memory is a method to know how fast and fluid a mobile phone, tablet or smart watch can work, although it is not the only variable since it depends on the rest of the components.
6 GB of RAM is quite a high figure, only high-end devices have this amount of RAM. If what you are looking for is a mobile phone or tablet with which to play the most demanding video games, perhaps a device with 6 GB of RAM is what you are looking for.