What is the correct way of querying data from realm via Node.js?

I have generates dummy collection in atlas and then I have generated a schema which has write/read rights. Then in my app I have following

await app.logIn(Realm.Credentials.anonymous());

  const realm = await Realm.open({ path: "sample_airbnb.listingsAndReviews" });


Here the confusing part where the documentation lacks a bit, what is the path and what are objects? Are objects the name of the collection? All I get is that listingsAndReviews was not found in Schema.