WAS is a new feature of IIS, that allows all the features of the Windows Communication Framework stack, like non-HTTP channels and other stuff. IIS is the web server that hosts the services that are activated via WAS.
Check out this document for details.