Java is a programming language and development environment used to build mobile and web applications. The key features include being object-oriented, avoiding common pitfalls of other languages, and providing code portability. The Java Virtual Machine (JVM) allows code to run on any platform and provides security features like dynamic class loading and garbage collection. A simple Java application can be written, compiled using javac, and run using java to output "Hello World".