A TTL index automatically deletes documents after a time based on a date field (or after a fixed expire time). It’s useful for sessions, tokens, temporary data, and logs with retention.