When a movie needs a sound, people called foley artists make it with everyday things. Imagine a little toy car rolling on a rug – that can become the sound of a character’s footsteps on a wooden floor. They might tap a piece of wood with a stick or walk in socks on a soft mat to get different footstep noises.
For a punch, they often use something like a piece of meat or a rubber ball and hit it with a mallet, or they slap a thick pillow. The thump you hear is recorded and then added to the picture, so it matches the action you see. It’s a bit like playing a game with toys to create the sounds that make the story feel real.