The domain of #tan x# is all real numbers except #pi/2 + pin# where #n# is an integer. The graph of #tan x# is shown below:
graph{tan x [-10, 10, -5, 5]}
The graph of #tan x# has an asymptote at #pi/2#, and the period of the function is #pi#, meaning the asymptote repeats and the function is undefined every #pi# units in the x-direction.