An applet is a small Java program designed to run within a web browser, typically embedded in HTML pages. It executes in a sandboxed JVM environment with restricted security permissions. Applets were commonly used for client-side web applications before being deprecated in favor of modern web technologies.