Distance is 12,195 kilometers or 7577 miles or 6585 nautical miles
The distance is the theoretical air distance (great circle distance). Flying between the two locations' airports can be longer or shorter, depending on airport location and actual route chosen.
Map - Shortest path between Boston and Dar es Salaam
Location for Boston
Location for Dar es Salaam
The map is using a projection that makes land and oceans much wider near the south and north poles. The heading/course/bearing during a flight varies in most cases. Map based on image from NASA.