Working Principle

How the sunlight generate hot water ?