In general, up is a preposition. On the other hand, there are situations where this term can be used as an adjective or an adverb. You need to take a look at how the world is being used in the sentence to accurately identify its part of speech.