The movie is based on the life of John Nash, a renowned mathematician who made significant contributions to the field of game theory. Nash's story is one of both triumph and tragedy, as he struggled with mental illness and personal demons throughout his life. The film takes creative liberties with Nash's story, but it remains faithful to the spirit of his journey.