Why do you put Lime in the mortar? What does it do?

Lime is used in the manufacture of High-Temp mortar for its excellent water repelling properties. It also aids in the forming / texture of the mortar when mixing and applying to the firebrick.