Can X-rays be dangerous?

Yes.