What is Java and how to install Java in Ubuntu 18.04

What is Java and how to install Java in Ubuntu 18.04