csx is a united states-based holding company and is the primary freight and rail company in north america. the company formed as a merger of many smaller rail companies over the years. it became known as csx in 1980.