Weighed average inventory closing transaction

Dear all:

Hope you are doing very well.

After running inventory closing procedure , I found that the system add new transaction to the item transactions named “Weighted average inventory closing” , can anyone please explain to me what is the purpose of this transaction , how the system calculate its cost and quantity and if it has any physical or financial effect.

Regards