What is the difference between JAVA and applet?

In normal java programs main method is included and executed in Command prompt.

In Applets main method is not present and executed in browser

Applet programs provide more user friendly environment too.