A bed joint is the horizontal layer of mortar on which masonry units are laid, ensuring stability and even distribution of weight.