"Grin" is both a noun and a verb. The verb infinitive form is "to grin." There are many "verb forms," of which "grinning" is one: Present participle, "grinning"; past participle, "grinned." The participles are used in forming some of the tenses, and may also serve as adjectives and gerunds.