Flavor quantum numbers are used in particle physics to describe the types of quarks within a particle, which determine its specific properties and interactions. These numbers help categorize particles into families and are conserved in strong and electromagnetic interactions, but can change in weak interactions.