The straight line is

It is perpendicular to z-axis because cos90° is 0 which implies that it makes 90° with z-axis

1