How to Train Your Dragon 2 is a 2014 American animated fantasy film loosely based on the book series of the same name by Cressida Cowell.