Why do you need to carve?
Carving helps you carry speed while you ride. It can also help you stay out longer. This is because all that legwork on skidded turns eventually turns calf and thigh muscles into jelly.

Source: HOW TO CARVE ON A SNOWBOARD. May 13 2022. neversummer.com(https://neversummer.com/blogs/snowboarding/how-to-carve-on-a-snowboard).
Steps:
1.Initiation
Tilt the board: On the heelside edge, this means flexing to bring toes toward your shins and bending your knees like you're sitting down in a chair; this causes your toeside edge to lift and your heelside edge to dig into the snow. On the toeside edge, this means extending toes away from your shins and straightening your knees slightly; this causes your heelside edge to lift and your toeside edge to dig in.
2.Control
Hold the edge and let the board pass through the slope's fall line: The sidecut of the board is doing the turning for you. Keep your board on autopilot by holding your upper body still and in line with the board. Square your shoulder with the nose of the board. Keep your head up and back straight.
3.Finish
Hold the edge and prepare to ease up: The board will slow as the turn crosses the slope. Lighten your board by relaxing your flexion or extension; then initiate the next turn by tilting the board onto the opposite edge.