Which CSS function is used to apply a gradient background?

Explanation:

linear-gradient() and radial-gradient() functions apply gradient backgrounds.