They are 2 very different schools of thought but overlap in some cases. For instance the Soviet revolution was against the "bourgeois". But the Nationalist Socialist revolution AKA Nazism was brought up about by the fact that white German people felt that they were being screwed by the Jews because the Jews were very successful. It was both an attack on a race as it was on a class.