A flush toilet is a toilet that disposes of human waste by using water to flush it through a drainpipe…