Bladder

Bladder in The Sims 1
The Bladder metre decreases naturally throughout the day, and can only be increased by going to the toilet. Upgrading to a better toilet can boost Comfort whilst the Sim is relieving him or herself. If a Sim’s bladder starts to get full, they become extremely cranky; when it gets to the red, they make a wild dash for the toilet, and if they can’t get there in time, the poor Sim causes an embarrassing accident on the floor, which will severely effect the Sim’s Hygiene bar. Drinking a lot of coffee can make the Bladder metre decrease more rapidly. If a Sim does not flush the toilet, it can become clogged and will result in a sloppy mess that someone will have to clean up.

Even in places such as Downtown and Studio Town, there are public toilets where Sims can go to relieve themselves should they need to.

Pets
While a cat will instinctively use the litter box when it needs to go, dogs aren't as smart. Until they are properly trained and housebreaked, dogs are happy to go wherever they are, usually creating a mess in the house in the process.