How do butterflies and moths fly?

How do butterflies and moths fly?

Butterflies and moths have strong muscles in their thorax which force their wings up and down on a fulcrum basis. They actually go in a slanted figure 8 motion that propels them forward through the air in the same principle as an airplane.