First you have to understand the procedure of Accounts,
1 Voucher entry 2 Cash Book/day book entry 3. Ledger posting 4. Trial Balance 5. Trading & P/L axxount 6. Balance Sheet.
As you can see the all of above is done with in serial wise. If any of the step missed you are unable to finalize the accounts.
Trial balance is just only a table which showns the closing balance of all ledger account. Total of both side should be tallyed, and there after the books are ready for finalization. You can prepare Trading, P/L A/c and balance sheet from it.
I think now it is clear to you that Balance Sheet is the final result of the whole accounting and the trial balance is only a statement of ledger balances.
Rajesh