Java is a programming language created by James Gosling and his team at Sun Microsystems in 1995 to create web applications. It allows building of distributed applications and can be used to create desktop and mobile applications as well. Java has since been updated through various versions and is now widely used to build software across many domains.