What is the definition of attentive?

paying attention and showing interest. like paying attention in class so you could get good grades