Cats can't understand keyboards or computers, but they can understand that they are nice things to be around. They're warm, they make interesting noises, and they help get the attention of humans. Cats don't understand why things are a certain way, but they understand that they are good.
Humans are similar, we don't understand why we are here, but we know it's a good thing (for us anyway). We have it a bit better than cats, at least, in that we can start to question why things are this way. We can start to have even more purpose than just to enjoy the product of whatever life is. We can start to unlock the mysteries of whatever life is. We can never do this fully of course, but we can know that it is a good thing.
Unsettling though, is the fact that we have no way of knowing whether or not life is real anyways. Everything could just be a figment of your brain or my brain. You could have made up cats and ice cream and astrophysics and me, or I could have made all that up and you. A problem called the "egocentric predicament" stops us from observing reality unswayed by our own mental processes, making it impossible to know whether anything is real outside of our brains. Which I guess still doesn't change the fact that in my mind, or your mind, life is good and the meaning of life is knowing that it is good.
THIS ANSWER WAS INSPIRED BY THIS VIDEO:
https://www.youtube.com/watch?v=L45Q1_psDqk
tl;dr: humans are cats and life is good, even if life is not real.