SS&C Interview Question

Difference between unrealized and realized gain