Who Gets To Become Federal Government?
Each of the 222 MPs belong to different political parties, and the party with the most seats in parliament forms the federal government. The majority party will elect a leader to become Prime Minister, and then the federal government will be formed with a list of ministers.
Similarly for state governments, the party with majority votes will elect a Chief Minister and form state-level minsters branching from the federal government's cabinet.