Leo Tolstoy's experiences in real life translated to his literary works. For example, after his time in the mountains with his brother's military unit, he wrote the book The Cossacks. Later on, when the same brother died, he would explore themes of life and life after death in his work War and Peace.