why woman is not allowed to become Imam (leader)

I disagree, roles are important but not equally important.