Webb’s final destination is a spot in space called L2, about 1.5 million kilometers away from Earth. The telescope will actually orbit L2 as L2 orbits the sun (as shown in this animation). This special “halo orbit” helps the spacecraft stay in place without burning much fuel.
Read more: https://www.sciencenews.org/article/james-webb-space-telescope-l2-lagrange-point
Video: NASA GSFC