The flapper valve controls the release of water from the toilet tank to the bowl. If it's faulty, water may leak from the tank into the bowl, causing spray. You can tell if it's faulty by inspecting it for wear or damage, or by listening for a hissing sound when the toilet is not in use.