What’s the difference between primary vs secondary market bonds?

Hi, a basic doubt but I keep seeing these two terms - primary market and secondary market bonds.

what’s the actual difference? does it change how we buy or the returns we get?