Essentially, a microservice is a computer program that runs on a server or a virtual computing instance and responds to network requests. Microservice is breaking up an application into smaller parts each of which communicates across interfaces such as API, HTTP.
The benefits of Microservices are:
Easier automation testing
Rapid and flexible deployment models