Its entertainment, but the hazards is real.
The match is scripted, the winner of the match, the champion, rivalry, its all scripted. The moves the wrestlers do in the ring, are also scripted, they are planned how it will go, and they try to do it less painfull, but sometimes things go wrong, and the wrestler can be seriously injured. So, dont try this at home!
p/s: There's no such thing as real when its on TV, even the news is somehow scripted.