What's the purpose of these pull-up resistors?

I got your point, thanks for the explanations!