So by virtue of RAM's performance characteristics and also by the fact that it can be directly addressed by the CPU, because of these properties, we always use RAM to store the code and often much of the data of any running program. 