The SEC was created to regulate the stock market; they also regulate the groups of people – the organizations that are involved in buying and selling stock.
So the Securities and Exchange Commission is a federal – a national government organization in the U.S. Their job is to regulate or make rules about how stocks can be bought and sold.