Machine learning helps cyber security by spotting unusual data patterns, predicting risks, responding fast to threats, and automating tasks. This makes things more efficient and accurate.