Great question Lana! The term president usually refers to the head of state of a country that is a republic. A prime minister is usually the leader of the government of a country that is a constitutional monarchy (Australia), republic (France) or another system of government. In some systems of government (the United States and Indonesia), the president is both the head of state and the leader of the government.
Learn more about the Australian system of government with this fact sheet.