Real planes have segments called ailerons inserted in the wings and segments called rudders and elevators inserted respectively in the vertical fin and horizontal stabilizer. The pilot controls their position from the airplane cockpit. When the pilot moves them into the airstream, they cause the plane to react to air pressure.The pilot uses them to go right or left and also up and down.
An airplane in flight changes direction by movement around one or more of its three axes of rotation: lateral axis, vertical axis, and longitudinal axis. These axes are imaginary lines that run perpendicularly to each other through the exact weight center of the airplane.
The airplane's rotation around them is called pitch, roll, and yaw. The pilot guides the airplane by controlling pitch, roll, and yaw, and by use of the elevators, ailerons, and rudder.
YAW
Rudder rotates the airplane around vertical axis.
ROLL
Ailerons rotate the airplane around longitudinal axis.
PITCH
Elevators rotate airplane around lateral axis.