* Adjective: Describing something as belonging to the present or recent times.
* Example: "This is a modern building."
* Noun: Referring to the present or recent times as a period.
* Example: "The modern era is marked by technological advancements."
* Adverb: Modifying a verb, adjective, or another adverb to indicate something is done in a contemporary style.
* Example: "She dresses very modern."
So, the part of speech for "modern" depends on the context.