What does ‘hail-Mary’ mean?

( n ) (Football) A desperation play, such as an extremely long pass. It all came down to a hail-Mary pass in the final 5 seconds of the game.