Mainly there are two options for students, on-campus and off-campus.
On-campus accommodations are accommodation are managed by the university or college. Students apartments, dorms and student housing are examples for on-campus accommodations. This usually offers closes location to campus...