I'm learning about the photoelectric effect and blackbody radiation separately at school. However, I'm having trouble reconciling the two.
From what I know about blackbodies; they are perfect absorbers and emitters of electromagnetic radiation. Due to the random movement of charged particles within the blackbody, electromagnetic waves are emitted.
However, I also know of the photoelectric effect which occurs when electromagnetic radiation is shone onto a metal surface. Since metals have free valence electrons, the electrons absorb photons of energy and are liberated.
Are these two effects related? From my understanding, the emission of blackbody radiation is not the same as electrons being emitted due to the photoelectric effect. In that case, can a blackbody exhibit the photoelectric effect?
Any help will be greatly appreciated, thank you.