Here's a simplified explanation:
* Early fish: They had fins, which helped them move in the water.
* Amphibians: Some fish evolved into amphibians, which could live both in water and on land. Their fins gradually changed into limbs with toes.
* Reptiles: Reptiles evolved from amphibians and developed more sophisticated limbs, including feet with claws.
* Mammals: Mammals evolved from reptiles and developed feet with specialized features like pads, claws, and hooves, depending on their environment and lifestyle.
So, feet are a product of evolutionary adaptation, not invention.