Why did people travel on the Mormon Pioneer Trail?

People travel on the Mormon trail because people in Illinois didn't want thew there so the moved to the salt lake valley to find a good life so people wont bother them.