With primary issuances of securities or financial instruments, or the primary market, investors purchase these securities directly from issuers such as corporations issuing shares in an IPO or private placement, or directly from the federal government in the case of treasuries.
The secondary market for a variety of assets can vary from loans to stocks, from fragmented to centralized, and from illiquid to very liquid.