Jack traded his family's cow for magic beans from a strange man. When the beans sprouted overnight, a beanstalk grew all the way up to a castle in the sky. Jack climbed the beanstalk and met a kind giantess who fed him breakfast. When the giant arrived, Jack hid and overheard the golden hen promise eggs if freed. Jack rescued the hen but was chased by the giant back down the beanstalk. Jack's mother cut it down, causing the giant to fall, and from then on the magic hen provided for Jack and his mother.