The correct statement that accurately compares atrocities committed by Nazi Germany and Imperial Japan during WWII is:
Both the Nazis and Japanese used racial superiority as a justification for the imprisonment and extermination of groups of people.
This reflects the ideologies that underpinned the actions of both regimes, where racial beliefs were used to justify horrific acts against various populations.