Just like "to", "for" is also a preposition. Please see my earlier post for a link to the explanation of what prepositions are, and how they are used in English grammar. Here is a link to the definition of "for", along with many examples of its use.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.