Pensively - an adverb to used to describe a manner of conduct of a person immersed into deep thoughts.