To describe something that seems like it's happening or is being imagined.
He was daydreaming, staring out the window as if he was somewhere else.
To express that something is surprising or hard to believe.
She's so calm, as though the news didn't affect her at all.