On the one hand, World War I put a heavy strain on the Russian economy and society, leading to widespread discontent and unrest. This discontent was a major factor in the outbreak of the revolution in February 1917.
On the other hand, the Russian Revolution had a profound impact on World War I. The collapse of the Russian Empire removed one of the major Allied powers from the war, and this gave the Central Powers a significant advantage. The revolution also inspired anti-war sentiment in other countries, and this contributed to the war's eventual end in 1918.