Use Schedule D for the following purposes. To figure the overall gain (or loss) from transactions reported on Form 8949. To report a gain from Form 6252 or Part I of Form 4797. To report a gain (or loss) from Form 4684, 6781, or 8824.