The storyline concerned Uncle Bob, played by Howerd, who would give all his money when he died to one branch of his family. One branch was poor and common, the other branch was rich and snobbish. Each family had two parents and a son and a daughter.
Some of the rich family lived as the poor and vice versa. One parent and one child stayed with their family, finding out how the other half lived.
After the end of the series, it was all revealed as a hoax and no-one was any better off.