Yaw and pitch are two terms that refer to and describe the axis and movement of a vehicle or any things like wind turbines and other applicable items. The vehicles in question usually apply to aircraft. Yaw is also the yawning axis, which represents the vertical axis, and it applies to side to side movements. The direction of the movement is left to right or right to left. It depends on the placement and site of the vehicle or object.
On the other hand, pitch denotes the horizontal axis, which stretches from one wingtip to the opposite wingtip. It has supplementary names such as the lateral axis and the transverse axis. It indicates movement from top to bottom or bottom to top. While yawn is perpendicular to the body of wings, the pitch is vertical to the yaw axis and corresponding to the body of wings.