Typically a web server just serves up web content and, sometimes, web applications such as those built using
JSP,
Servlets, ASP, etc. Application servers are generally used for building distributed, component based transactional systems with technologies such as
EJB, CORBA, .NET, etc.
That's the basics anyway...
Simon