Why is 在...里 in the front of 在大学里她学习了生物?
Assuming your question is about the placement of 她, either way is fine:


  她在大学学习了生物 (she studied biology at university)





  在大学她学习了生物 (at university, she studied biology)


The latter has somewhat more focus on it happening at university, but in this sentence it doesn't make much of a difference.

This basically goes for all kinds of situations, not just explicit 在, for example "我今天要去中学" and "今天我要去中学" are both equally valid, but the latter has more focus on the time at which the action will occur.