Java source code is compiled into Bytecode, which is an intermediate representation of the code that can be executed on any Java Virtual Machine (JVM). This allows Java to be platform-independent, as the same bytecode can run on different operating systems without modification.