A moat is the reason a good business might stay good. It is not a slogan and it is not a high margin for a single year. It is a structural feature that a rival cannot copy quickly: a lower cost that others cannot match, a habit or a system that is painful for a customer to leave, a network that becomes more useful as it grows, or a permission, a brand, or a patent that keeps others out.
Warren Buffett popularised the metaphor. The point of it, for a permanent owner, is narrow. A moat is only interesting if it protects the cash the owner can take out over many years. A fashionable product, a temporary shortage, or a subsidised price is not a moat.
See return on invested capital, circle of competence, and intrinsic value.