do animals feel pain as humans do?

does anyone know if they do hurt when they are giving birth?