A toilet flange is a pipe fixture which connects the toilet to the floor, as well as the drain to a drain…