A relation from Set A to Set B is a subset of the Cartesian product A × B. It can be represented as a set of ordered pairs (a, b), where a ∈ A and b ∈ B.
This lab visualizes relations using arrows from elements of Set A to Set B.