Black body radiation and photelectric effect could not be explained by continuous light. Both of these concepts are based on particle theory of light. According to this light is made up of small particle these particles have some fix amount of energy called quanter.