Bob needed batteries for his flashlight.
Without a fire detector, the house burned down and Bob burned with it.
Bob took the batteries from the remote so he could turn on the flashlight.
Bob took the batteries from the fire detector so he could turn on the flashlight.