1099-B vs 1099-DIV
1099-B and 1099-DIV is issued by a brokerage which are required to report your stock sales and receipt of dividends to the IRS.
1099-B
You will receive a 1099-B showing the proceeds for any sales in a given year.
1099-DIV
You will receive a 1099-DIV for any dividend payments you receive in a given year.