Some parts of it might be based on true events, but it also likely takes creative liberties for cinematic effect. So, it's a mix of fact and fiction.
It's claimed to have roots in real experiences, but like many movies of this genre, it probably exaggerates and fictionalizes elements to make it more thrilling and engaging for the audience.