SEBI was formed to protect investors in securities markets and promote orderly development of those markets. It regulates stock exchanges, registers and regulates intermediaries like brokers, merchant bankers, and mutual funds. SEBI's functions include prohibiting market manipulation and insider trading, promoting investor education, inspecting regulated entities, and vetting public issuances. It aims to boost confidence in capital markets through strict regulation and investor protection.