A chemical toilet is a toilet using chemicals to disinfect the waste instead of simply storing it in a hole, or piping it away to a sewage treatment plant. These toilets are most commonly found on airplanes and trains, identified with a blue-colored dye in the bowl water. (In the United States this blue liquid formula is generally called "Anotec".) An even simpler chemical toilet consists of a seat on a container or bucket of water, with a solution of chemicals used to disinfect and deodorize. These are sometimes found on inter-city buses or in homes where indoor plumbing is not available.
Disinfection is generally carried out by mixing formaldehyde or similar chemicals with the toilet water when flushed.
Chemical toilets are often used on construction sites and at outdoor gatherings such as music festivals, and in caravans.
Since formaldehyde is very irritating to the skin, nose, and throat, it is being replaced by other proprietary blends such as glutaraldehyde and quaternary ammonium compounds, with non-staining dyes and nature-identical perfume oils. Also the use of enzyme hybrids are being developed now.
https://en.wikipedia.org/wiki/Chemical_toilet