Is the word Baby a vowel or a consonant?

The vowels in this word are a, and y. The consonant is b.