Retirement tax questions

Thanks for quick answer.  when IRS looks at our income in determining amount of my social security retirement to tax, is the figure for income rhey look at gross income or taxable income?  Thanks again.