Complex sentence: At night, the ghost appears and begs the person to set her free, and in return, she will give him a set of winning numbers.
Split into simpler sentences: At night, the ghost appears and begs the person to set her free. In return, she will give him/her a set of winning numbers.