How does the Canadian Government Work?

The canadian parliament system works like this at the top of the chart would be the Queen who is represented by the Governor General,then for the Legislative branch the Senate who’s member are appointed based on the Prime Minister recommendation and then the House of Commons who are elected by the voters.For the executive branch would be the Prime Minister and the cabinet and for the Judiciary branch would be the Supreme court of Canada