pronoun
Describes something scattered or present in many places; often used with verbs like ある, 見える, 咲く, etc.
公園にはそこかしこに花が咲いていた。
Flowers were blooming here and there in the park.
街のそこかしこで祭りの準備が進んでいる。
Preparations for the festival are underway everywhere in town.
あちこち also means 'here and there' but is more casual and commonly used in everyday speech. そこかしこ is slightly more literary and emphasizes a wider, more scattered distribution.
方々 means 'various places' and is similar in meaning, but そこかしこ has a more poetic or descriptive nuance of things being spread out everywhere.
Compound of そこ (there) and かしこ (over there, an old demonstrative pronoun). The repetition of location words creates the meaning 'here and there, everywhere'.