Yes, to answer that, we need to answer the question, what is pain?
Pain is essentially a 
response your brain generates when the neurons in a particular region of your body get stimulated. Complex species belonging to the kingdom Animalia have neuronal connections throughout their body. Now, in slaughterhouses, 
pigs are 
abused,
tortured with cattle prods, kicked to the curb, and are made to go through 
unbearable psychological trauma. As they lay in wait to be killed, they see their 
peers and children get shot in front of them and that is not only immense 
physiological trauma but also 
psychological.
How do we know these (apart from the scream and agony of the animals)? We can see it with 
fMRI and 
multiple studies show that 
cows, pigs, chickens, goats, and sheep are animals that are 
very intelligent and feel 
emotional and physical pain as much as we do.
And what do we do about these? We breed them 
featherless with 
6 legs so that we can enjoy a meal from 
KFC.
Despite awareness of torture in slaughterhouses, 
no laws are passed to rectify it and everyone who claims to be compassionate still 
eats the meat with no second thought.
Now, to answer your second question, 
animals kill for 
survival and to 
assert dominance, yes. But they do not 
industrialize it and keep killing more than 
200 Million animals every single day just to hone their cultural roulette. 
Human beings have 
alternate methods of survival and food sources, ones that do not require slaughter and still give as much or 
more nutrition than meat, and yet we continue obliterating the lives of millions of animals every day.