An Applet is a small Java program that runs inside a web browser and cannot run on its own; it is mainly used for simple interactive content on web pages. AWT (Abstract Window Toolkit) is Java’s basic GUI toolkit used to create windows, buttons, labels, and text fields, but its components depend on the operating system, so their appearance may change from one system to another. To improve GUI development, Java introduced Swing, which provides more advanced and consistent-looking components that do not depend on the operating system, making them look the same everywhere. Swing is considered more flexible and powerful than AWT.