A web service is a piece of software hosted on a web server that provides an interface for exchanging data between programs.
To use a web service, a program sends requests to a
url and gets data back, often
encoded in a format designed to be consumed by other programs, such as JSON.