Impact of Scientific Ideas on Religion and Society