Why does the flag have 50 star?

if you are talkin bout the american flag 50 star, 1 for each state