Does every object in the Universe have gravity? Space has no gravity, why? My science teacher told me that every object in Universe has gravity but space is a part of Universe too, so,  why does the space have no gravity?
A quick search up on google you would find this:


  Gravity causes every object to pull every other object toward it. Some
  people think that there is no gravity in space. In fact, a small
  amount of gravity can be found everywhere in space. Gravity is what
  holds the moon in orbit around Earth.


Why is this? That's because:


  Outer space is the closest known approximation to a perfect vacuum. It
  has effectively no friction, allowing stars, planets and moons to move
  freely along their ideal orbits. However, even the deep vacuum of
  intergalactic space is not devoid of matter, as it contains a few
  hydrogen atoms per cubic meter.


If there's matter in space, thus this makes this statement valid. 


  Yes, everything that has mass will cause a gravitational pull on other
  objects.