Franklin Energy interview question

What is a singleton pattern, how to implement it and why is it needed