Two dogs stand side by side in the yard.
Two dogs standing together in the yard.
Answer: If the dogs are side by side then it means  they are together
Stand side by side is a rephrasing of standing together.
Together is a rephrasing of side by side.