You can manually create a deal, or one will automatically be created when an estimate or invoice is created and sent to a contact.