There is no textbook definition of what a microservice is, but we can give you an idea of what it does.
Microservices structures applications as a assemblage of many services that are small and diverse in technologies, programming languages and databases. It is useful for modularity, scalability and Integration of heterogeneous and legacy systems.