Many of the tasks a DHTML application can perform are the same as those that can be performed by CGI and other scripts. These are scripts residing on a server, which respond to an action and perform some task. Because the DHTML application resides on the user’s computer, rather than a server, processing is performed on the client side. Using methods such as CGI, an event (such as a mouse click) is transmitted to the server, processed, and the result is sent back. With DHTML, many events can be taken care of on the client side, while still enabling requests to be made of the server. This increases the response time of a user request, because the server isn’t processing everything.