Main ideas for understanding the photoelectric effect