These words of, to, O, and from are signs of the cases with which they are joined, and are put to all Nouns.
Of - genitive case
To - dative case
O - vocative case
From - ablative case
The nominative and accusative cases are not known by signs, but by their position in a sentence.