If Mrs Anderson gives her class a test and decides to record the amount of time Finnish there and compare that to the grade each student gets on the test. This is a relation.
What is a relation?
There is a correlation between a student's grade and the amount of time they spend finishing an exam. A set of ordered pairs in mathematics, where the first member is related to the second, is called a relation. In this instance, the test time and matching grade for every student would create an ordered pair in the relation.
The relationship is also a function if every minute spent completing the test correlates to a distinct grade, meaning that no two students have the same test time and different grades. Each input (the amount of time needed to complete the test) in a function has exactly one output (the grade) associated with it.
Therefore this is a relation.