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.
彼女はとても冷静で、まるでニュースが彼女にまったく影響を与えていないかのようだ。