The gooseneck is the swivel connection on a sailboat by which the boom attaches to the mast. The boom moves from side to side and up and down by swiveling on the gooseneck.
Read more about Gooseneck.