In bookwork the gutter is the inside margin where two facing pages meet at the spine. Part of it disappears into the binding, so it is set wider than the outer margin: a perfect-bound A5 book might use 20 mm at the gutter against 15 mm outside. Thick books with 400 or more pages need the most, since the curve of the spine hides more of each page.
The same word describes the white space between columns of text on a page, typically 4 to 6 mm on an A4 layout, and the strip between pages when several are imposed on one sheet, where it holds crop marks and allows for the cut.
Word and InDesign have a gutter setting that adds margin to the binding side and swaps it left and right on facing pages. Set it before laying out a book, not after, since it changes every line length.