It was a  Luna E-8 spacecraft, the first of three to be launched, It was intended to perform a soft landing on the Moon, in order to deploy a Lunokhod rover onto the surface.
The Luna E-8 spacecraft was one of three intended for launch; its primary mission was to conduct a soft landing on the Moon and subsequently deploy a Lunokhod rover onto the lunar surface.