I like studying in places like libraries or cafes because it feels less lonely and the atmosphere is motivating. It's nice to see other people also working hard.
It really depends on what I'm studying. For tough subjects, I study at home, but if I need to work with others, I go to a library or meet up with a study group.