The students at Twilight's School of Friendship are cramming for a "History of Magic in Equestria" exam in the school library when they discover a part of the school that no pony else knows about. When they decide to do some exploring they end up learning much more than they bargained for.