Hi there, @e.ramirez.
I'm here to help share information about the Exchange Rate Unrealized and Realized Gains & Losses.
I've checked that 5000-5999 range of category is for Cost of Goods Sold (COGS). Unrealized and Realized reports only affect bank, accounts receivable, and accounts payable.
If you're trying to realized/unrealized COGS, then, this is not possible in QuickBooks Online (QBO).
In case you have any other QBO concerns in the future, feel free to visit/check our help articles: Help articles for QBO.
Please don't hesitate to check back with us if you're referring to something else, I'll be always here happy to help you. Wishing you the best!