Using customer demographics

How can firms use customer demographics like income, market size, education, and ethnicity to market to their customers better? Discuss with the help of suitable examples.