The honey wagon was originally a horse-drawn vehicle that went through back alleys to collect human excreta. Houses at that time did not have flush toilets or indeed any form of indoor sanitation beyond the chamberpot.
In the past, the honey wagon served as a vehicle that collected human waste from narrow alleys. Homes during that era did not have modern toilet facilities and relied on simple chamber pots for indoor sanitation.