Indicates distance or direction from something
- Miles away of the shop there is a parking.
Indicates origin, or source
Indicates material, substance, component parts or contents
- There are plays of Shakespeare in the opera house.
- Can you give me a piece of the cake?
Indicates material, substance, component parts or contents
- The apartment consists of three rooms.
- The book is full of poems.
indicate possession or connection
- The king of France arrived.
There are many other ways how to use the word OF. However they aren't for this level. For advanced students check OF.