The Election Commission of India recognizes political parties as national or state parties based on specific criteria related to their electoral performance in general elections.