Alt text, or alternative text, is a written description of an image that appears on a webpage. It is primarily used to improve accessibility for users who are visually impaired or have disabilities that prevent them from viewing images. Additionally, alt text plays a crucial role in SEO by helping search engines understand the content of images, which can improve your website's visibility in search results.