What is the meaning of のに?

even though, although (in spite of the fact that)

if only

in order to

Source: wiktionary.org