it defines and formats the data that are returned to the client