'Ray' is the globally-accessible (by default) variable for accessing the constructor for Ray objects, much like 'Instance' is for physical objects.
Ray.new(vec3Origin, vec3Direction)
is the constructor for a Ray object, which is really just a line segment. It is used in the raycasting functions for detecting if the line created intersects any Part object.