JBOSS is a server based on j2ee architecture includes web container and ejb container.
web container---Do u know
tomcat? It's a kind of web container which can support your web application.
ejb container---If you want to use Ejb in your application,
you should have the server which can provider the ejb container which can deploy your EJB application.
Above is my oponion