To call the people to worship only one supreme god, rather than the many idols they worshiped before. He also wanted to bring more equality to the people-- before Islam, women were considered worthless and were even buried alive as newborns. Islam put an end to that.
Prophets are the messengers of Allah that spread the message of Allah and invite people to Islam. Allah sent 124000 prophets. Among them there are 4 Rasools