The real reason behind this was Hitler’s ideology. He despised communists. Additionally, he believed that only if a country as large as the Soviet Union was captured, could Germany become the #1 superpower in the world. Because Germany would then control so much land. Basically, Hitler was suffering from Megalomania.
He believed that he was the ruler of the world. He was driven crazy with power. He believed that he could achieve everything that he could rule over the entire world. But attacking the Soviet Union was a major mistake for Hitler. In fact, this became a turning point in world war 2.
Hitler’s plan was simple. The way he invaded France, he wanted to invade the Soviet Union similarly. By dividing the German forces into 3 parts. The first group would travel across the Baltic region towards Leningrad. The city where Stalin resided. The second group would attack Moscow. And the third group would attack from the South, travelling through Ukraine.
This operation began on 22nd June 1941. The army of the Soviet Union was much larger than German’s. They had 20,000 tanks. And the Germans had only 6,000 tanks. But there was a major difference. The German technology was much better than the Soviet’s. This is why, Hitler still had the upper hand in this war.