A broker is a member of a stock exchange, who is permitted to do equity trades in there. Broker is enrolled member of the exchange and is registered with SEBI.
In other word broker is an intermediate person (or a company) between an investor and a stock exchange. They buy & sell shares and other securities for investors in stock market.
Please note that an investor cannot direct deal with stock exchange.