The IRS keeps a record of what they expect to see on your tax return. This is called a tax transcript.
Transcripts include W-2 wages, 1099s, Stock Sales, and other financial transactions.