Retirement tax questions

My understanding is it is tracked on form 8606, Part III.  (There is an IRS worksheet to keep track of all IRA cost basis.