What happens when we touch the metal top of a charged electroscope with our finger? What is this process known as?

The leaves of an electroscope will collapse when we touch the metal cap with our hand. This is because the leaves of the charged electroscope lose charge to the earth or gets discharged through our body. This process is called Earthing. The process of transfer of charge from a charged body to the earth is called Earthing.