what is the difference between web service and a web application?

Web Application:Any application which we can run in our web browser is a web application.

Web Service:A web service is an Application Program Interface (API) that runs on the server, which provide data to the client over http through a standardized messaging system. (XML, JSON, etc…).