An autocracy is a type of government in which a single ruler holds absolute power and control over the state.