What is the role of SEBI in protecting investors?

How does SEBI ensure fair play and protect the rights of retail investors?,