What is the difference between a treaty and an armistice?

A treaty is an agreement between 2 or more parties. The topic(s) agreed upon may, but does not have to - pertain to armed conflict.

An armistice, on the other hand - is a treaty whereby a cessation of armed conflict is agreed upon.

Sometimes, the armistice is the first step towards a more permanent peace treaty.