step: a glass of water is a kind of object & if an object / something is in the sunlight then that object / that something will absorb solar energy & a glass of water is in the sunlight
inference: the glass of water will absorb solar energy