Routing table is basically used to store the network route information in the form of data file in the random access memory (RAM). It mainly store information about the various types of connection and the remote network.
The routing table contain two columns and the first column is basically used for listing the every networking device and the computer system.
On the other hand, the second column s basically used to list about the destination device in which the computer wants to send a message. The main function of the router is to forward the packet to its actual destination by using the routing table.
The network layer is responsible for logical connection setup, data forwarding, routing & delivery. This therefore means that the network (third) layer of the OSI model is responsible for allowing one computer to share information with other computers.