A companionway is a staircase or ladder that leads from one deck to another on a ship. the steps going from one deck (=level) of a ship to another deck
A small hatch in a deck, originally used to refer to the hatch in the quarterdeck leading to the main deck; a ladder