A lot of people may get confused between the two, possibly because of the motive of these two seems to be the same. It is important to know the differences so that you will know. In communism, there is a belief that there is a need to control the different people so that they can perform depending on their skills and their capabilities.
Some of them would perform according to their class. They believe that if this would not be done, the people will wither away. In Anarchism, they believe that the government is to blame for all of their issues, which means that the people are usually against the government no matter who is leading the government.