What is the difference between a large market team and a small market team? What makes a team a large market team or a small market team?

The number of people available to buy tickets to the games?

Which would have the larger market? A team in New York City or a team in Phoenix?