Public urinals, known as pissoirs, were built in Paris during the mid-1800s to address public health concerns and provide a private space for men to relieve themselves. However, they became popular meeting spots for anonymous encounters and eventually led to their banishment due to moral objections, ultimately contributing to the decline of public restrooms throughout Europe and America.