Whoever claims the student as a dependent (student or someone else) is the one who claims qualified educations expenses paid out or pocket or with loans for education benefits. If you are an undergraduate and paid for books and supplies out or pocket or with loans, your parents would include those expenses along with expenses for tuition and fees paid out of pocket or with loans on their tax return. They claim qualified expenses on their tax return regardless of who actually paid them.
If you had scholarship income that paid for non qualified expenses such as room and board, that income must be entered on your tax return and is taxable. You would enter the 1098-T if you had taxable scholarship income.