What is open() method?

What is open() method?

It is used to create a file object that will be used to invoke methods associated with it.