what makes tan x=0 what pi?

tan(x) = 0 when x = 0, π, 2π, 3π, and so on. These values occur at the zeros of the tangent function where the sine function is also equal to 0.