String section (auto)

In the first video of the string section , at the 15:00 time , prateek sir defined a for loop with defining s1.begin() with auto datatype , what is this all about and where else can we use it ?

It is a keyword notifying the compiler to infer the type of the variable at compile time.
So in place of the datatype…when your write auto…it can handle any datatype