Flying means moving through the air. To fly, you have to be lifted by air. To be lifted by air, the air must have more force than your weight. So, you must have something to accelerate the air to make it forceful. This is why birds have wings. When they flap the wings, they accelerate the surrounding air, get lifted and fly.