Alex is slowly dying, so Daimon expels him from his body to save his soul.
But the film also contains sloppy mistakes that are difficult to overlook, and its timeline winds up confused and confusing as a result.
The film rather slowly dances around the real horror and you do have to stick with it past a number of red herrings.