Hello Mohsin Ali,
Let’s say you have app A which is a server and app B which is a client.
In app A create a get rest service and configure export mapping.
In app B call the rest service and configure import mapping.
If the requirement is not this, then you can use OData.
Publish the OData in app A and consume it in app B.
you can get to know about this in here: https://academy.mendix.com/link/paths/111/Create-and-Share-Data-Between-Apps-Using-the-Data-Hub-Catalog
Hope my answer helps.