How to determine closing price in F&O?

Hi @Karthik , for indices like nifty and bank nifty, what will the volume? Is it the future volume or sum of volume of all index components?