Text is nothing but the objects of a string class. strings are nothing but mutable objects and the string class is what we call a set of operations and methods that are used to get a substring, insert and delete a text - all operations that we can do on a string.