HTML entities are special sequences of characters used to represent special symbols or characters that cannot be directly typed in an HTML document.