.Text python

What does .text do in Python?
text thingy in Python which converts html codes into readable text to work
Harleycodein