2: function is a series of variables
By defining different functions and combine them, they could solve small problems specifically and then combine to fix the big problems that can be defined by a series of small problems
example: If you want to draw something complicated or design some games with many elements, you need to think the elements involved in it and define individual functions and combine them in a logical way to achieve it.