In the sciences, at least, you generally get paid by some means to go to grad school. This is either done as a teaching assistant or a graduate assistant. The former is paid for teaching some undergrad labs, which isn't really a great deal for anybody, while the latter means that somebody has a research grant and you are doing the work on that grant.