Schedule D is the portion of the federal income tax return where the taxpayer itemizes all realized capital gains and losses. The taxpayer attaches Schedule D to his or her Form 1040 when filing the return.