Made of honor

Okay so what are the duties of a made of honor? I was asked to be it of course I said yes to my best friend but I’ve never been to weddings or have any idea about them.