Is Titanic based on a true story?

Most things in Titanic are true. The way the Titanic sank, some of the first-class passengers, and even some of the crew member names were real. But the story of the "Heart of the Ocean" and the love story in Titanic was fiction.