All-in draws can make sense when the hand has strong equity, can force folds, or combines multiple ways to improve.

The beginner lesson is simple: do the math first, then decide whether the aggression is justified.