The thing in the toilet

this is what I found in a toilet, what is it and where did it come from