Naturally, a person should avoid sin as one avoids fire. The Torah's penalties serve two purposes: to repair the blemish and address its impact on the community. Jewish theologians disagree on whether angels have a body.
https://www.torahrecordings.com/rebbe/igroskodesh/011/012/3784