The term "salary" originated from the historical practice of compensating workers with salt, a valuable commodity in ancient times.