Web Service

A web service is a server-side system that responds to requests over the internet to perform a function or provide data. Unlike a plain informational page, a web service is often designed to return results, state changes, or structured data rather than just something a person reads.

Why The Distinction Exists

This matters because not everything on the web is best understood as a website in the ordinary sense. Some systems resize images, handle logins, return weather data, process payments, or power the behind-the-scenes requests that apps and pages rely on. They may still be reached through a browser or HTTP, but their role is functional rather than primarily presentational.

Many websites are also web services, and many web services are surfaced through websites. The concepts overlap, but they are not identical. A website emphasizes the user-facing collection of pages. A web service emphasizes the request-handling function behind the interface.

Why It Helps Beginners

This concept is useful mostly as vocabulary cleanup. It stops the reader from assuming that "the web" only means pages humans look at directly. Once that distinction is visible, ideas like APIs, background requests, login flows, and data endpoints become easier to place.

Sources