what is the meaning of the sensex and how it calculated?

i know some things about the sensex but don’t know how it calculated
means they said sensex get crossed the 15000 marks
but how do you know that and how it is calculated ?