A Java Virtual Machine (JVM) is a software implementation of a computer that runs Java programs. It interprets compiled Java code and executes it on the host machine.