The JRE (Java Runtime Environment) contains the JVM (Java Virtual Machine) as well as the standard libraries and several tools.
The JVM knows how to execute Java Bytecode (the instructions contained in .class files), much like the CPU in your computer knows how to execute machine code (the instructions contained in executable native programs).