I have income on a real estate trust that i sold that was reported on a 1099-B. Do I need to fill out a form 8949? Do I need to fill out on a schedule D?

Do I need to fill out a schedule D if I have income on a real estate trust that i sold that was reported on a 1099-B