Anchor text is the clickable text in a hyperlink. It affects SEO by providing context and relevance to the linked page. Using relevant and varied anchor text can improve the authority and relevancy of a website.