Original: A traditional use of cerium was in the pyrophoric mischmetal alloy used for light flints. Because of the high affinity of cerium to sulfur and oxygen, it is used in various aluminium alloys, and iron alloys.
Simplified: Cerium is sometimes used in alloys because it often makes the alloy more heat resistant.