The consonant sounds in "bat" and "pat" are both made by putting our two lips together and then opening them to release a small puff of air.
In these two video clips, you can see the woman saying the words "Pop" and "Bob." Notice
If we make these sounds the same way, then what is the difference between them? The difference is not what we do with our mouths, but what we do with our voice. When we make a /p/ sound, we do not use our voice; the sound is quiet. Put your hand on your throat and make the sound /p/. You should not feel any movement in your throat.
However, when we make a /b/ sound, we do use our voice. Put your hand on your throat and make the /b/ sound. Can you feel the vibrations? Another way to help you learn the difference between these two sounds is that /p/(the voiceless sound) makes a bigger puff of air. Put your hand in front of your mouth and make the /p/ sound. Feel the big puff of air. Now put your hand in front of your mouth again and make the /b/ sound (the voiced sound). Feel only a little puff of air? Good!