Marlabs Interview Question

What is the difference between Singleton and Factory