'Whereas' is used to highlight a contrast between two facts or ideas, fitting the comparison between past animal-driven carts and modern motor vehicles. While 'but' also shows contrast, 'whereas' is often preferred in formal comparisons of two distinct situations.