For what values of θ is the tangent 0?

For what values of θ is the tangent undefined?
please please explain

tanx = 0 for x = 0 + nπ

tanx is undefined for x = π/2 + nπ