They represent Early forms of communication
In the past, the majority of humans were nomadic and they move from one place to another due to the availbility in foods around them.
They use cave painitngs to communicate other members of their group (or other human) the place to hide , to obtain food, and which foods were safe to eat