A web service is a software system designed to support interoperable machine-to-machine interaction over a network. Web services use standardized protocols and data formats to exchange information. They enable integration between different applications and platforms. Example: A payment processing service accessed via an API.