What are the key differences between primary and secondary markets?

What are the major differences between primary markets (IPOs) and secondary markets (stock exchanges)?,