Liferay stores all the information in a relational SQL database, but most of the entities (Web Content, Documents, Users, Blogs Entries, etc.) are also indexed on the Elasticsearch server.
This Elasticsearch server is used by several Liferay functionalities, for example:
Liferay search functionality: execute searches by keywords.
Asset Publishers: display the contents filtered by some...