What is the function of wing?

The wing is an airfoil-shaped structure that produces lift, a force that opposes gravity. Lift is generated by the pressure difference between the upper and lower surfaces of the wing. The shape of the wing, the angle at which it meets the oncoming air (angle of attack), and the speed of the air flowing over the wing all affect the amount of lift that is produced.

The wing is also responsible for providing stability and control. The wing's dihedral angle (the angle between the wing and the horizontal plane) helps to prevent the aircraft from rolling over. The ailerons, which are located on the trailing edge of the wing, are used to control the aircraft's roll. The flaps, which are also located on the trailing edge of the wing, are used to increase lift and drag.

In short, the wing is one of the most important components of an aircraft. It is responsible for generating lift, providing stability, and controlling the aircraft's flight path.