The adoption act did not come in until 1926: effective in 1927, before that it was an informal arrangement, sometimes through the Church when a childless couple were known to be receptive to bringing up a stranger's child.
It was quite common for grandparents to bring them up, sometimes the child grew up believing their mother was a their older sister. As has already been said, sometimes they were taken in by other family members.