To put it merely, consonants are sounds produced by blocking the airflow within the mouth when pronouncing them. This could be by closing the lips, or by utilizing the teeth, tongue or palate.
This is a great example https://imogenjulb348792.blogaritma.com/profile