How safe is flying on a plane?

I'm really excited to go on my vacation to mexico over christmas the only thing that's really bothering me is the plane ride there. It's about 5 hours and I have so many fears (Terrorist attack, engine failure etc.) is flying that safe?
7 answers 7