Why can you start a car with a battery outside of the car?

Sure, connect it to the car with jumper cables.