What does a golf hole cup do?

Golf hole cup ring mainly plays two roles: 1. Generally, it is an iron straight cup structure, which is consistent with the size of the green hole and can protect the green hole from damage; 2. There is a hole with the same size as the flagpole at the bottom, which can be inserted to support the green flag.