What causes yellow stains on mattresses?

Most times, it is because of the urine. This can be from your kids, pets, or ill persons in the house. Also, we can see yellow stains because of food and oil spills.