Thanks for your question Chloe. Senators can also be members of the government. The government is formed by the party or coalition of parties with the support of the majority of members in the House of Representatives. This means that senators who belong to the government party or parties are also members of the government. In fact senators can also be ministers in the government.
For more information on government check out this fact sheet.