What is the difference between facultative and treaty reinsurance

What is the difference between facultative and treaty reinsurance