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.