pensive

adjective
  1. engaged in deep or serious thought; thoughtful in a melancholy way

Examples