a leaf is a device for absorbing light