* Noun: When referring to the state of being enjoyable or amusing.
* Example: "We had a lot of fun at the party."
* Adjective: When describing something as enjoyable or amusing.
* Example: "It was a fun movie."
* Interjection: When expressing excitement or enjoyment.
* Example: "Fun! Let's go to the beach!"
The specific part of speech will be determined by how it is used in a sentence.