The Rat-nest function is used to generate a set of straight line connections needed to complete the routing of a circuit board.
This function is a necessary part of the auto-routing functions.
A rat-nest is also indispensable for routing boards manually, giving you a ready guide as to which pins need tracks between them. After you have placed a number of tracks, just rat-nest again to get a fresh look at the routing that remains to be done.