If you watch How To Train Your Dragon backwards it is about a boy who gets others to ride all of the dragons away from Berk, magically creates a huge dragon that breathes fire and heals burned Vikings. All of the dragons he rode away bring back previously dead Berkians and put out fires.