In US usage, which differs from UK usage.
"On the street" usually refers to the location of a building. "I live on Main Street."
It can also mean, literally, physically on top of the pavement, but this usage is somewhat less common "There was a puddle on the street."
"In the street" means something is located within the boundaries, the edges, of the street. "The car was parked in the street."