What is the objective of primary markets?

The main objective of the primary market is to facilitate the company to raise long-term funds by issuing new shares.