The photoelectric effect describes how photons hit a metal surface, energizing outer electrons to escape, which leaves the metal positively charged. In typical experiments, the metal is grounded, allowing electrons to be replenished from the Earth, preventing permanent charge loss. The energy of the emitted electrons corresponds to the frequency of the incoming light, not its intensity, which only affects the number of emitted electrons. The concept of grounding serves as a charge reservoir, ensuring that the metal maintains its electron balance. Understanding these principles is crucial for grasping both quantum physics and electrical circuits.