The remote agent always resides on the user's PC. Its functions are to forward the query to the host agent and to receive the result sets from the host agent. It is not responsible for returning data directly to the application.