contestada

Read the sentence.

A sailor who works in the galley must either wash dishes or cook while at sea.

Based on the context clues, what is the meaning of the word galley?

a ship’s upper deck
a kitchen on a ship
a prison or dungeon
a government office