A Web Service is a Web application runs on a Web Server and exposes some functionality via HTTP. It is used to communicate between two applications to transfer data.
A Windows service is an application runs on a Windows machine as a process and usually used to perform some task that is scheduled automatically.