In a nutshell, dialectical materialism is a system for producing change by observing and influencing the “contradictions” of “opposites” that produce “struggles” that, when resolved, produce progress. Marx meant it to apply to everything. The conflict and struggle between the classes that is manifest in the conflict between capitalism and communism is just one of many such examples.