A Java applet is a compiled program that typically runs on the client side in a web browser. Unlike simple interpreted scripts, applets are compiled into bytecode before execution. The other options describe different web technologies (visitor tracking, data collection) that are not applet functions.