The last prayer we recite before going to sleep is Adon Olam. One reason is because in this prayer we say, “In His hand, I place my soul, when I lie down… The Lord is with me, I shall not fear.” We can sleep peacefully because we know G-d is protecting us.