Write Working Principle Of Generator