How does SEBI regulate the Indian stock market?

What are SEBI’s main regulatory functions in overseeing the Indian stock market?