The flex-direction defines what's known as the main axis, an imaginary line that refers to the direction and orientation of flex items.