on both sides ofThe particle の links the preceding noun to 両側 (both sides), and に marks the location. Used for things located or arranged on both sides of a road, street, or other object.
JA: 川の両側に美しい木が植えられている。
EN: Beautiful trees are planted on both sides of the river.