How to get all products under the collection name of current product?

Suppose user goes to this [page](page

now)
[https://forestacking.wixsite.com/forestack/product-page/herbal-tea-16-ct](page
https://forestacking.wixsite.com/forestack/product-page/herbal-tea-16-ct

now)

in Javascript I want to get the name of collections Herbal tea is in. i.e. “Tea”
Then I want to get a list of all the products that fall under collectioin “Tea”.
How can this be achieved?