You would buy a competitor to increase your market presence, expand product offerings and reduce competition.
When you acquire a competitor you add their existing customer base to your own.
You can streamline their operations and integrate them easily into the ones your own company runs by.