Investors & landlords

I think it’s different if your transactions may be aggregated on Sch. D. 
But out of curiosity-

Who tells you to send that in? TurboTax? The IRS? 
How and to where do you send it so it gets matched up to the return?