Is the letter g a consonant or a vowel?

consonant