Its too basic a question, you will get an answer to this when you do a google search.
webservers are meant to server
jsp and
servlet app servers -
ejb's
this is like a rudimentary ans, there's a whole lot of things that an app server can do that a webserver.