Bootstrap 5 alerts are used to provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.