In theory they get a free education, but in reality the huge majority of a student-athlete's focus is on sports (at least football and basketball). Just look at the majors for athletes on the teams - almost never anything too difficult.
There are also plenty of examples of "classes" that athletes have taken in the news, i.e. University of North Carolina, and more