Functional programming is a paradigm that treats computation as the evaluation of mathematical functions, emphasizing immutability and purity.