how do animals obtain the nitrogen to obtain proteins and nuclear acids
by consuming plants or other animals. Organisms need nitrogen to make proteins and DNA. However, they cannot directly use nitrogen from the atmosphere.
By consuming other animals and plants would be your answer, hope this helps. :D