i am new in mongodb database, i want to fetch data from two different collections ( like in mysql use of joins) then how can we do this in mongodb ? Here my collections data
First collection 
{
    "id": "5b67dbf20b9f9d2830ccaf40",
    "title": "Some Text",
    "author": "John Doe"
}
Second collection 
{
    "id": "5b67dbyd48btr9jexya8ehd8",
    "pid": "5b67dbf20b9f9d2830ccaf40",
    "salary": "50000"
}
 
    