A dictator is the leader of a government that is run by the vision of the ruler. He has the power without the consent of the people, and his loyalists assist him. The dictator holds all the political power. The government, which consists of the judiciary, administration, and legislature, helps in tandem with the dictator.
In simple terms, a dictatorship is a type of government where both public and private lives of the people are investigated. They also must adhere to the rules of the government. Anyone who goes against the government or the dictatorship may be punished. An example of a historical dictator is, of course, Adolph Hitler. Tyranny, on the other hand, is a form of government in which the leader of the government is oppressive and callous toward the people.
In this situation, the leader appeases his endeavors rather than the good of the people. The administration, judiciary, and legislative are controlled and chosen by him. The tyrant rules his people through oppression, fear, and even torture. He may also have obtained wealth through ill-gotten gain.