Compare the rise of isalm and buddism. what role did non-religious elements play in their rise?

Compare the rise of isalm and buddism. what role did non-religious elements play in their rise?