The electrons take in the energy of the light wave and start to vibrate. What happens next depends upon how tightly the atoms hold on to their electrons. Absorption occurs when the electrons are held tightly, and they pass the vibrations along to the nuclei of the atoms. This makes the atoms speed up, collide with other atoms in the material, and then give up as heat the energy they acquired from the vibrations. The absorption of light makes an object dark or opaque to the frequency of the incoming wave.
Wood is opaque to visible light.
Some materials are opaque to some frequencies of light, but transparent to others. Glass is opaque to ultraviolet light, but transparent to visible light. The atoms in some materials hold on to their electrons loosely. In other words, the materials contain many free electrons that can jump readily from one atom to another within the material. When the electrons in this type of material absorb energy from an incoming light wave, they do not pass that energy on to other atoms.