"the car shot suddenly towards the moon"

Witches and wizards traditionally fly on broomsticks or magic carpets, but J.K. Rowling took this concept a step further when she created Mr. Weasley’s flying car, an enchanted Ford Anglia.

She is not the first to devise a flying car: Chitty Chitty Bang Bang, in the novel by Ian Fleming, can fly, and so can Scaramanga's car in the film version of another Fleming creation, The Man with the Golden Gun.