The Photoelectric Effect & Its Applications