Apache Tomcat is a Servlet/JSP container, it is used to serve dynamically generated content using the Servlet API. Apache Tomcat can also act as a web server and serve static files (like images, css) but this is not its primary function (and Apache, the web Server, does a better job at this1).