noun
nearby; close by; beside; vicinity
Refers to a place or position near something or someone. Often used with に or の to indicate location.
駅のそばにコンビニがあります。
There is a convenience store near the station.
彼はいつも私のそばにいる。
He is always by my side.
noun
Used in the pattern 〜そばから, following the attributive form of a verb, to indicate that something happens immediately after another action, often with a nuance of repetition or inevitability.
See also: そばから
覚えたそばから忘れてしまう。
I forget things as soon as I learn them.
片付けるそばから子供が散らかす。
The kids make a mess right after I tidy up.
The origin is uncertain, but it may be related to the classical Japanese word そば (side, edge). The kanji 側 and 傍 are used for their meanings of 'side' and 'nearby' respectively.