What's the difference between "дети бегают по магазину" and "дети бегают в магазине"?
EDIT: If you are about to provide some examples in your answers, please, observe the following requests:
consider only those examples that contain a motion verb (like прыгают, танцуют, летают, etc. - not the verbs like думают, мечтают, находятся, etc.);
avoid using unidirectional verbs (like бегут, плывут, летят, едут, несутся, etc.), use their multidirectional counterparts instead (бегают, плавают, летают, ездят, носятся, etc.)
the noun following the proposition "в" should be in the propositional case ("ходим в магазине"), not in the accusative case ("сходим в магазин")