Modern computers are based on the Von Neumann Architecture. This architecture uses what is known as the stored program concept – which basically means that program instructions and data are stored in the same memory.
You can see here in the diagram, the memory contains both program code and program data. This is connected to the CPU using various busses (data and address busses).
Read page 58 of the textbook “Exploring Computer Hardware”.