Image retrieval systems typically use algorithms to analyze and index images based on their features. These features can include color, texture, shape, and pattern. When a query image is inputted, the system compares its features with the indexed images and retrieves the most similar ones.