The Java Virtual Machine (JVM) is an abstract computing machine that enables a computer to run Java programs and programs written in other languages that are also compiled to Java bytecode. It provides a platform-independent execution environment, allowing code to be executed on any device that has a JVM installed, thus embodying the 'write once, run anywhere' philosophy of Java.