Detailed explanation of thin film solar cells