Hi there, can anyone tell me why in a periodic inventory system do we have to Dr. Ending inventories and Cr. Beginning inventories for closing

Hi there, can anyone tell me why in a periodic inventory system do we have to Dr. Ending inventories and Cr. Beginning inventories for closing entries?

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now