Why did prehistoric artists paint zoomorphic images on stones and inside caves?

a) To document historical events
b) As a form of communication
c) For utilitarian purposes
d) In connection to religious or ritualistic beliefs