Is the generator the main power or is it backup to the main power?

Now, we have ac...2.5 ton for each floor...how is yours allocated? Sounds very sophisticated.