This is a rear wheel drive car, so the transmission is driving the rear wheels through a drive shaft and rear differential. It is connected to the engine and runs along the length of the car in the...
I don't know the year of your 5 series,but I have a 95 525i and the battery is located underneath the rear seat on the passenger side of the vehicle. Just go to the middle front part of the back seat...