He contributed to a wide range of subjects , including ethics , religion , politics , philosophy , biology , sociology , and psychology . As a polymath , he contributed to a wide range of subjects , including ethics , religion , anthropology , economics , political theory , philosophy , biology , sociology , and psychology .