The body-swap episode is Season 2, Episode 46: "Body Swap" (French: "Échange de corps").
A rogue X.A.N.A. program—specifically a "Body Swap" virus—activates while the Lyoko Warriors attempt to repair the factory's power source. The malfunction causes Yumi Ishiyama and Odd Della Robbia to switch bodies, leading to comedic chaos as they navigate each other's lives: Yumi (in Odd's body) deals with his chaotic family and flirtations; Odd (in Yumi's body) faces her strict parents and Ulrich's protectiveness.
The episode is a fan favorite for its character-driven humor—Odd's horror at Yumi's wardrobe, Yumi's deadpan delivery of Odd's one-liners—and for advancing the Yumi/Ulrich relationship through forced perspective. The swap is reversed by episode's end via a return to the past.