To put it just, consonants are sounds produced by blocking the airflow through the mouth while pronouncing them. This might be by closing the lips, or by using the enamel, tongue or palate.
This is a good example of https://directmysocial.com/story1984206/little-known-facts-about-abc-song-for-kids-cocomelon