Here's how Dead Space wraps up, so consider this a spoiler. The finale has you facing a massive tentacled creature. After it kills your girlfriend, you battle and ultimately destroy it.
You then return to your ship, where you discover a message left by her. Just as that sinks in, a monster appears behind you, and the game cuts to the credits. That's the end — a fittingly unsettling finish to a horror game.