It’s a mechanism that provides some capabilities through a public interface.

A service’s public interface defines the service itself: which functionality is implemented by the service.