All the points on those lines are a part of the domains and the ranges. The domain points are the "x" values of the points on those lines. The range points are the "y" values of the points on those lines.
The first square in the top left hand corner:
Domain: -3, -1, 0, 1, 2
Range: 0, -1, 1, 0, -1