They are called the Poor Souls in Purgatory for a reason. It is because they are the souls of people who have died in a state of grace, but who are not able to enter heaven yet because they owe a debt of temporal punishment due for their sins which have been forgiven. The Poor Souls cannot pray,