About bitset header file

What is this bitset header file for?Why are we declaring a bitset array instead of a normal int array as in the previous questions.What is the utility of bitset array?

@Senjuti256 refer this for bitset
(https://www.geeksforgeeks.org/c-bitset-and-its-application/)

I read the article but did not understand why it will take less space than array or vector of bool type.Bool occupies 1 byte space so how is data stored in bitset ?when to apply bitset array?

@Senjuti256 its written at the start only
A bitset is an array of bool but each Boolean value is not stored separately instead bitset optimizes the space such that each bool takes 1 bit space only, so space taken by bitset bs is less than that of bool bs[N] and vector bs(N) .
its in form of bits 1 and 0