Answer:
An applet
Explanation:
An applet is a small program, designed to perform a few tasks and usually written in Java programming language, that resides on a server and when downloaded can run on a client's computer. Applets don't basically run on their own, they run inside another program in which they are embedded or integrated.
When a browser that supports Java features visits a web page that has an applet, the applet is transferred to the machine (computer with the browser) and is executed by the Java Virtual Machine (JVM) of the browser.