-이/가 is a particle used to indicate the subject of the sentence in Korean. The subject is the thing in the sentence doing the verbing (performing an action). Since it is a particle it attaches directly onto the end of nouns. Use 이 for words that end in a consonant and 가 for words that end in a vowel.