While China's government benefited from the ingrained ideas of Confucianism and legalism to establish civic behavior and virtue, India depended on ______________ to regulate social interaction among its diverse populations.

a. Taoism

b. Buddhism

c. the caste system