While "Treasure Island" is a work of fiction, it draws inspiration from real-life pirates and historical events.