While accuracy is an intuitive metric, it can be highly misleading with imbalanced datasets where one class significantly dominates the data. In such cases, a model might achieve high accuracy by simply predicting the majority class, yet fail to correctly identify the minority class. The F1-score is preferred as it accounts for both false positives and false negatives, providing a more robust evaluation of performance on both classes.