Haroot and Maroot were two angels mentioned in the Quran but I want to know what was their role on earth? could you explain little in detail about what they did here?
They were sent to earth to test people. They told people that we have the ability to teach you black magic that you can separate spouses from each other but if you learn from us, you will nullify your religion. This was a test.
Those who learnt from them were kafir and those who didn’t, they passed the test.