Explain the function of create() method.