The difference of a dream and an obsession

How do you distinguish between a dream and an obsession?