Researchers first thought that "flying" snakes glided like paragliders, but they actually have a more advanced process. National Geographic reports that a snake will slither to the end of a tree branch, then dangle its body in a J shape. Then instead of simply plummeting, it "propels itself from the branch with the lower half of its body, forms quickly into an S, and flattens to about twice its normal width, giving its normally round body a concave C shape, which can trap air." To move around, a snake will undulate its body back and forth. Amazing...but also terrifying.
Related: Flatulence As Snake Self-Defense