The relationship between a class and its students is an example of a one-to-many relationship: one class can have multiple students, but each student belongs to only one class.
ER Diagram:

Field Configuration:

The source collection, which is the collection where the current field resides.
The target collection, which is the collection to be associated with.
The field in the source collection that is referenced by the foreign key. It must be unique.
The field in the target collection that is used to establish the association between the two collections.
The field in the target collection used to view each row record in the relationship block, usually a unique field.
ON DELETE refers to the rules applied to foreign key references in related child collections when records in the parent collection are deleted. It is an option used when defining a foreign key constraint. Common ON DELETE options include: