collection

it runs on both server side and client side

on server side, it acts as an API of mongo database, you manipulate the
data

on client side, it's a copy of a subset of the real collection.