Flying is often cheaper than train. Why get the train?

I was looking at a train ride for 11 hours or a plane for 2/3. The train is somehow more expensive than the plane. Besides environmental concerns why do people opt for trains?