Caps Lock and Shift are both keyboard functions used to change the case of letters. However, Caps Lock is a toggle key that, when activated, capitalizes all letters until it is turned off. On the other hand, Shift is a modifier key that is held down temporarily to capitalize individual letters while typing. Therefore, both Caps Lock and Shift are used to capitalize letters, but in different ways.