I've seen a lot of posts of hangings on here where they have a pillow nearby, what's the pillows for? To catch their fall if they fail?

In most cases the pillow is placed on the chair/bucket/etc in order to give them more height to tie up the noose, then it falls to the ground when they kick and strangle.