Welcome!
Can't help specifically on the 5 series, I have no experience with them. But they do share the same engine, so a few things to be aware of in that area:
- Water pump may have plastic blades that will crack, and should be replaced
- Radiators tend to fail around 100 - 150K miles, the plastic gets weak from heat and cracks develop.
- It probably has a guibo (flex disk) that connects the transmission to the drive shaft. These tend to crack and need replacing around 100 - 150K miles.