罰を

punishment

→ 罰
phrase Uncommon #15,747
punishment 罰 means “punishment,” and を marks it as the object of a verb. It commonly appears in phrases such as 罰を受ける (“receive punishment”) and 罰を与える (“give punishment”).
JA: 悪いことをしたら、罰を受けます。
EN: If you do something bad, you will be punished.

これは多分罰を与えられているんですよ

I think this is probably some kind of punishment.

— Article 15 (2019)

そのような罰を彼に与える必要があったのか

Did he really need to be punished like that?